]> git.armaanb.net Git - config.org.git/commitdiff
Tangle dunst config
authorArmaan Bhojwani <me@armaanb.net>
Sun, 28 Mar 2021 03:03:05 +0000 (23:03 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 28 Mar 2021 03:03:05 +0000 (23:03 -0400)
config.org

index 3dfe4e5576234eb8cb4cf24925924891347b6fe3..f142ec99bd662789154a943d45397fb216434dc1 100644 (file)
@@ -296,7 +296,8 @@ Add back C-a/C-x
     (add-to-list 'org-structure-template-alist '("al" . "src yml :tangle ~/.config/alacritty/alacritty.yml"))
     (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 plain :tangle ~/.gitconfig")))
+    (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")))
 #+end_src
 * Autocompletion
 ** Ivy
@@ -1444,3 +1445,60 @@ https://github.com/sharkdp/vivid
 [commit]
        gpgsign = true
 #+end_src
+** Dunst
+Lightweight notification daemon. Gruvbox colors, based on https://github.com/a-schaefers/i3-wm-gruvbox-theme/
+*** General
+#+begin_src conf :tangle ~/.config/dunst/dunstrc
+  [global]
+  font = "JetBrains Mono Medium Nerd Font 11"
+  allow_markup = yes
+  format = "<b>%s</b>\n%b"
+  sort = no
+  indicate_hidden = yes
+  alignment = center
+  bounce_freq = 0
+  show_age_threshold = 60
+  word_wrap = yes
+  ignore_newline = no
+  geometry = "400x5-20+20"
+  transparency = 0
+  idle_threshold = 120
+  monitor = 0
+  sticky_history = yes
+  line_height = 0
+  separator_height = 4
+  padding = 8
+  horizontal_padding = 8
+  max_icon_size = 32
+  separator_color = "#585858"
+  startup_notification = false
+#+end_src
+*** Modes
+#+begin_src conf :tangle ~/.config/dunst/dunstrc
+  [frame]
+  width = 4
+  color = "#585858"
+
+  [shortcuts]
+  close = mod4+c
+  close_all = mod4+shift+c
+  history = mod4+ctrl+c
+
+  [urgency_low]
+  background = "#282828"
+  foreground = "#ebdbb2"
+  highlight = "#ebdbb2"
+  timeout = 5
+
+  [urgency_normal]
+  background = "#282828"
+  foreground = "#ebdbb2"
+  highlight = "#ebdbb2"
+  timeout = 15
+
+  [urgency_critical]
+  background = "#282828"
+  foreground = "#cc241d"
+  highlight = "#ebdbb2"
+  timeout = 0
+#+end_src