]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Add Zathura config
[config.org.git] / config.org
index 8360634a832776c859ea02c3e30f14bbcf63097c..cbe9ae85e9851397890180930d2a483abc794f74 100644 (file)
@@ -288,7 +288,8 @@ Add back C-a/C-x
     (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 '("ro" . "src plain :tangle ~/.config/rofi/config.rasi")))
+    (add-to-list 'org-structure-template-alist '("ro" . "src plain :tangle ~/.config/rofi/config.rasi"))
+    (add-to-list 'org-structure-template-alist '("za" . "src plain :tangle ~/.config/zathura/zathurarc")))
 #+end_src
 * Autocompletion
 ** Ivy
@@ -368,11 +369,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"
@@ -381,14 +383,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"))
@@ -396,8 +398,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")
@@ -409,7 +410,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
@@ -799,9 +802,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
@@ -1241,7 +1244,7 @@ colors:
 
   cursor:
     text: '#000000'
-    background: '#777777'
+    background: '#ffffff'
 
   # Normal colors (except green it is from intense colors)
   normal:
@@ -1393,14 +1396,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
@@ -1410,19 +1413,19 @@ 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
@@ -1430,10 +1433,37 @@ Modus vivendi theme that extends DarkBlue.
 #+begin_src plain :tangle ~/.config/rofi/config.rasi
 @import "/usr/share/rofi/themes/DarkBlue.rasi"
  * {
-    selected-normal-foreground:  rgba ( 0, 0, 0, 100 % );
-    foreground:                  rgba ( 255, 255, 255, 100 % );
-    background:                  rgba ( 0, 0, 0, 100 % );
-    lightfg:                     rgba ( 255, 255, 255, 100 % );
-    selected-normal-background:  rgba ( 255, 255, 255, 100 % );
+    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
+** Zathura
+*** Options
+#+begin_src plain :tangle ~/.config/zathura/zathurarc
+map <C-i> recolor
+map <A-b> toggle_statusbar
+set selection-clipboard clipboard
+set scroll-step 200
+
+set window-title-basename "true"
+set selection-clipboard "clipboard"
+#+end_src
+*** Colors
+#+begin_src plain :tangle ~/.config/zathura/zathurarc
+set default-bg                  "#000000"
+set default-fg                  "#ffffff"
+set render-loading              true
+set render-loading-bg           "#000000"
+set render-loading-fg           "#ffffff"
+
+set recolor-lightcolor          "#000000" # bg
+set recolor-darkcolor           "#ffffff" # fg
+set recolor                     "true"
+#+end_src