.config/dunst/dunstrc

Mon, 26 Aug 2024 14:23:43 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 26 Aug 2024 14:23:43 -0500
changeset 1177
93b5d2db30bc
parent 292
8e6e4b64eb2e
permissions
-rw-r--r--

more gopls config. add inlay hint toggle

292
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 [global]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 font = Sans 18
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 allow_markup = yes
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 # The format of the message. Possible variables are:
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 # %a appname
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 # %s summary
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 # %b body
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 # %i iconname (including its path)
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 # %I iconname (without its path)
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 format = "<b>%s</b>\n%b"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 # Sort messages by urgency
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 sort = yes
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 # Show how many messages are currently hidden (because of geometry)
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 indicate_hidden = yes
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 # keybindings to remove notification
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 # available modifiers are 'ctrl', 'mod1' (the alt-key), 'mod2', 'mod3'
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 # and 'mod4' (windows-key)
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 modifier = ctrl
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 # use xev to find the names for keys
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 key = space
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 # key to redisplay last message(s)
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 history_key = grave
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 # the geometry of the window
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31 # geometry [{width}]x{height}][+/-{x}+/-{y}]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 # The geometry of the message window.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 # The height is measured in lines everything else in pixels. If the width
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 # is omitted but the height is given ("-geometry x2"), the message window
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35 # expands over the whole screen (dmenu-like). If width is 0,
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36 # the window expands to the longest message displayed.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 # A positive x is measured from the left, a negative from the
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38 # right side of the screen. Y is measured from the top and down respectevly.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
39 geometry = "0x2-32-32"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 # Don't remove messages, if the user is idle (no mouse or keyboard input)
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
42 # for longer than idle_threshold seconds.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
43 # Set to 0 to disable.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
44 idle_threshold = 120
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
45
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
46 [urgency_low]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
47 # IMPORTANT: colors have to be defined in quotation marks.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
48 # Otherwise the '#' and following would be interpreted as a comment.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
49 background = "#aaaaff"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
50 foreground = "#000000"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
51 timeout = 10
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
52
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
53 [urgency_normal]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
54 background = "#1793D1"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
55 foreground = "#DDDDDD"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
56 timeout = 10
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
57
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
58 [urgency_critical]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
59 background = "#ffaaaa"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
60 foreground = "#000000"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
61 timeout = 0
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
62
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
63
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
64 # Every section that isn't one of the above is interpreted as a rules
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
65 # to override settings for certain messages.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
66 # Messages can be matched by 'appname', 'summary', 'body' or 'icon'
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
67 # and you can override the 'timeout', 'urgency', 'foreground', 'background'
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
68 # and 'format'.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
69 # Shell-like globbing will get expanded.
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
70
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
71 #[signed_on]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
72 # appname = Pidgin
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
73 # summary = "*signed on*"
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
74 # urgency = low
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
75 #
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
76 #[signed_off]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
77 # appname = Pidgin
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
78 # summary = *signed off*
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
79 # urgency = low
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
80 #
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
81 #[says]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
82 # appname = Pidgin
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
83 # summary = *says*
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
84 # urgency = critical
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
85 #
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
86 #[twitter]
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
87 # appname = Pidgin
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
88 # summary = *twitter.com*
8e6e4b64eb2e add dunstrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
89 # urgency = normal

mercurial