]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Remove annoying ligature
[config.org.git] / config.org
index 25d0ff06a28770757e90960da851093219b1bf99..96cc2096bee11025d473a6d30cdb6e105bf0d9e4 100644 (file)
@@ -68,7 +68,7 @@ Great programming font with ligatures.
     :config
     (ligature-set-ligatures
      '(prog-mode text-mode)
-     '("-|" "-~" "---" "-<<" "-<" "--" "->" "->>" "-->" "///" "/=" "/=="
+     '("-|" "-~" "---" "-<<" "-<" "--" "->" "->>" "-->" "/=" "/=="
        "/>" "//" "/*" "*>" "*/" "<-" "<<-" "<=>" "<=" "<|" "<||"
        "<|||" "<|>" "<:" "<>" "<-<" "<<<" "<==" "<<=" "<=<" "<==>" "<-|"
        "<<" "<~>" "<=|" "<~~" "<~" "<$>" "<$" "<+>" "<+" "</>" "</" "<*"
@@ -222,7 +222,7 @@ tpope prevails!
 ** Undo redo
 Fix the oopsies!
 #+begin_src emacs-lisp
-  (evil-set-undo-system 'undo-tree)
+  (evil-set-undo-system 'undo-redo)
 #+end_src
 ** Number incrementing
 Add back C-a/C-x
@@ -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
@@ -675,6 +678,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.
@@ -795,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
@@ -861,13 +868,13 @@ No more clogging up init.el.
   program[thunderbird] = thunderbird
   program[slack] = slack
 
-  bind[aerc] = MOD+Control+s
-  bind[weechat] = MOD+Control+d
+  bind[aerc] = MOD+Control+1
+  bind[weechat] = MOD+Control+2
+  bind[emacs-anywhere] = MOD+Control+3
+  bind[firefox] = MOD+Control+4
+  bind[thunderbird] = MOD+Control+5
+  bind[slack] = MOD+Control+6
   bind[emacs] = MOD+Control+Return
-  bind[emacs-anywhere] = MOD+Control+f
-  bind[firefox] = MOD+Control+u
-  bind[thunderbird] = MOD+Control+i
-  bind[slack] = MOD+Control+o
 #+end_src
 ** Zsh
 *** Settings
@@ -1237,7 +1244,7 @@ colors:
 
   cursor:
     text: '#000000'
-    background: '#777777'
+    background: '#ffffff'
 
   # Normal colors (except green it is from intense colors)
   normal:
@@ -1389,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
@@ -1406,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
@@ -1426,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