From c5179df8273e708915fe2d65460f74f0aba0ac83 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 27 Mar 2021 23:03:05 -0400 Subject: [PATCH] Tangle dunst config --- config.org | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 3dfe4e5..f142ec9 100644 --- a/config.org +++ b/config.org @@ -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 = "%s\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 -- 2.39.2