dunst.org (1924B)
1 #+PROPERTY: header-args:conf-unix :tangle "xdg-config/dunst/dunstrc" :mkdirp t 2 3 * Global 4 5 #+begin_src conf-unix 6 [global] 7 #+end_src 8 9 10 ** Frame settings 11 12 #+begin_src conf-unix 13 frame_width = 1 14 frame_color = "#ffffff" 15 #+end_src 16 17 ** font 18 19 Arch Linux - =terminus-font= package does not work, use 20 =terminus-font-otb=. 21 22 #+begin_src conf-unix 23 font = Terminus 9 24 #+end_src 25 26 ** size/shape 27 28 The geometry of the window: 29 30 #+begin_src conf-unix 31 geometry = "0x4-10-32" 32 #+end_src 33 34 Shrink window if it's smaller than the width. Will be ignored if width is 0. 35 36 #+begin_src conf-unix 37 shrink = yes 38 #+end_src 39 40 The height of a single line. If the height is smaller than the 41 font height, it will get raised to the font height. 42 This adds empty space above and under the text. 43 44 #+begin_src conf-unix 45 line_height = 0 46 #+end_src 47 48 *** Separator 49 50 Draw a line of "separator_height" pixel height between two notifications. 51 52 #+begin_src conf-unix 53 separator_height = 1 54 #+end_src 55 56 Define a color for the separator. 57 58 #+begin_src conf-unix 59 separator_color = frame 60 #+end_src 61 62 63 *** padding 64 65 Padding between text and separator. 66 #+begin_src conf-unix 67 padding = 5 68 #+end_src 69 70 Horizontal padding. 71 72 #+begin_src conf-unix 73 horizontal_padding = 5 74 #+end_src 75 76 * Colours 77 78 IMPORTANT: colors have to be defined in quotation marks. 79 Otherwise the "#" and following would be interpreted as a comment. 80 81 ** Low urgency 82 83 #+begin_src conf-unix 84 [urgency_low] 85 background = "#000000" 86 foreground = "#ffffff" 87 timeout = 5 88 #+end_src 89 90 ** Normal urgency 91 92 #+begin_src conf-unix 93 [urgency_normal] 94 background = "#000000" 95 foreground = "#ffffff" 96 timeout = 10 97 #+end_src 98 99 ** Critical urgency 100 101 #+begin_src conf-unix 102 [urgency_critical] 103 background = "#d35c5c" 104 foreground = "#ffffff" 105 timeout = 60 106 #+end_src 107 108 * Keybindings 109 110 #+begin_src conf-unix 111 [shortcuts] 112 #+end_src 113 114 ** Clear notifications 115 116 #+begin_src conf-unix 117 close_all = mod4+Space 118 #+end_src