]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Increase border consistency between programs
[config.org.git] / config.org
index 89b6824d60e6adb51b2c4d5db22d7c7fe26d0489..49045833c2171f34c7c7e09484004a6ef3f0a30a 100644 (file)
@@ -287,7 +287,8 @@ Add back C-a/C-x
     (add-to-list 'org-structure-template-alist '("ipy" . "src python :tangle ~/.ipython/"))
     (add-to-list 'org-structure-template-alist '("pi" . "src conf :tangle ~/.config/picom/picom.conf"))
     (add-to-list 'org-structure-template-alist '("git" . "src conf :tangle ~/.gitconfig"))
-    (add-to-list 'org-structure-template-alist '("du" . "src conf :tangle ~/.config/dunst/dunstrc")))
+    (add-to-list 'org-structure-template-alist '("du" . "src conf :tangle ~/.config/dunst/dunstrc"))
+    (add-to-list 'org-structure-template-alist '("ro" . "src plain :tangle ~/.config/rofi/config.rasi")))
 #+end_src
 * Autocompletion
 ** Ivy
@@ -367,11 +368,12 @@ Contexts are a not very well known feature of mu4e that makes it super easy to m
           smtpmail-stream-type 'ssl
           smtpmail-smtp-service '465
           mu4e-change-filenames-when-moving t
-          message-kill-buffer-on-exit t
           mu4e-get-mail-command "offlineimap -q"
           message-citation-line-format "On %a %d %b %Y at %R, %f wrote:\n"
           message-citation-line-function 'message-insert-formatted-citation-line
-          mu4e-context-policy "pick-first"
+          mu4e-completing-read-function 'ivy-completing-read
+          mu4e-confirm-quit nil
+          mail-user-agent 'mu4e-user-agent
           mu4e-contexts
           `( ,(make-mu4e-context
                :name "school"
@@ -380,14 +382,14 @@ Contexts are a not very well known feature of mu4e that makes it super easy to m
                :match-func (lambda (msg)
                              (when msg
                                (string-match-p "^/school" (mu4e-message-field msg :maildir))))
-               :vars '( (user-mail-address . "abhojwani22@nobles.edu")
-                        (mu4e-sent-folder . "/school/Sent")
-                        (mu4e-drafts-folder . "/school/Drafts")
-                        (mu4e-trash-folder . "/school/Trash")
-                        (mu4e-refile-folder . "/school/Archive")
-                        (user-mail-address . "abhojwani22@nobles.edu")
-                        (smtpmail-smtp-user . "abhojwani22@nobles.edu")
-                        (smtpmail-smtp-server . "smtp.gmail.com")))
+               :vars '((user-mail-address . "abhojwani22@nobles.edu")
+                       (mu4e-sent-folder . "/school/Sent")
+                       (mu4e-drafts-folder . "/school/Drafts")
+                       (mu4e-trash-folder . "/school/Trash")
+                       (mu4e-refile-folder . "/school/Archive")
+                       (user-mail-address . "abhojwani22@nobles.edu")
+                       (smtpmail-smtp-user . "abhojwani22@nobles.edu")
+                       (smtpmail-smtp-server . "smtp.gmail.com")))
              ,(make-mu4e-context
                :name "personal"
                :enter-func (lambda () (mu4e-message "Entering personal context"))
@@ -395,8 +397,7 @@ Contexts are a not very well known feature of mu4e that makes it super easy to m
                :match-func (lambda (msg)
                              (when msg
                                (string-match-p "^/personal" (mu4e-message-field msg :maildir))))
-               :vars '(
-                       (mu4e-sent-folder . "/personal/Sent")
+               :vars '((mu4e-sent-folder . "/personal/Sent")
                        (mu4e-drafts-folder . "/personal/Drafts")
                        (mu4e-trash-folder . "/personal/Trash")
                        (mu4e-refile-folder . "/personal/Archive")
@@ -408,7 +409,9 @@ Contexts are a not very well known feature of mu4e that makes it super easy to m
     (add-to-list 'mu4e-bookmarks
                  '(:name "Unified inbox"
                          :query "maildir:\"/personal/INBOX\" or maildir:\"/school/INBOX\""
-                         :key ?b)))
+                         :key ?b))
+    :hook ((mu4e-compose-mode . flyspell-mode)
+           (mu4e-view-mode-hook . turn-on-visual-line-mode)))
 #+end_src
 ** Calendar
 #+begin_src emacs-lisp
@@ -674,6 +677,10 @@ Abbreviate things!
 #+begin_src emacs-lisp
   (setq tramp-default-method "ssh")
 #+end_src
+** Don't ask about following symlinks in vc
+#+begin_src emacs-lisp
+  (setq vc-follow-symlinks t)
+#+end_src
 * Functions
 ** Easily convert splits
 Converts splits from horizontal to vertical and vice versa. Lifted from EmacsWiki.
@@ -794,9 +801,9 @@ No more clogging up init.el.
   border_width = 4
   autorun = ws[1]:/home/armaa/Code/scripts/autostart
 #+end_src
-*** Apprearance
+*** Appearance
 #+begin_src conf :tangle ~/.spectrwm.conf
-  color_focus = rgb:00/d3/d0
+  color_focus = rgb:ff/ff/ff
   color_focus_maximized = rgb:ee/cc/00
   color_unfocus = rgb:55/55/55
 #+end_src
@@ -1236,7 +1243,7 @@ colors:
 
   cursor:
     text: '#000000'
-    background: '#777777'
+    background: '#ffffff'
 
   # Normal colors (except green it is from intense colors)
   normal:
@@ -1388,14 +1395,14 @@ Lightweight notification daemon.
   padding = 8
   horizontal_padding = 8
   max_icon_size = 32
-  separator_color = "#777777"
+  separator_color = "#ffffff"
   startup_notification = false
 #+end_src
 *** Modes
 #+begin_src conf :tangle ~/.config/dunst/dunstrc
   [frame]
   width = 3
-  color = "#777777"
+  color = "#ffffff"
 
   [shortcuts]
   close = mod4+c
@@ -1405,18 +1412,34 @@ Lightweight notification daemon.
   [urgency_low]
   background = "#222222"
   foreground = "#ffffff"
-  highlight = "#777777"
+  highlight = "#ffffff"
   timeout = 5
 
   [urgency_normal]
   background = "#222222"
   foreground = "#ffffff"
-  highlight = "#777777"
+  highlight = "#ffffff"
   timeout = 15
 
   [urgency_critical]
   background = "#222222"
   foreground = "#a60000"
-  highlight = "#777777"
+  highlight = "#ffffff"
   timeout = 0
 #+end_src
+** Rofi
+Modus vivendi theme that extends DarkBlue.
+#+begin_src plain :tangle ~/.config/rofi/config.rasi
+@import "/usr/share/rofi/themes/DarkBlue.rasi"
+ * {
+    white:                        rgba ( 255, 255, 255, 100 % );
+    foreground:                   @white;
+    selected-normal-background:   @white;
+    separatorcolor:               @white;
+    background:                   rgba ( 34, 34, 34, 100 % );
+}
+
+window {
+    border: 3;
+}
+#+end_src