Browse Source

Config: Update dunstrc for 1.7 compatibility, add mouse actions

master
Riyyi 3 years ago
parent
commit
41feb6fb39
  1. 15
      .config/dunst/dunstrc
  2. 11
      .config/sxhkd/sxhkdrc

15
.config/dunst/dunstrc

@ -2,7 +2,8 @@
### Display ### ### Display ###
geometry = "0x0-20-20" origin = "bottom-right"
offset = "20x20"
horizontal_padding = 15 horizontal_padding = 15
idle_threshold = 120 idle_threshold = 120
indicate_hidden = false indicate_hidden = false
@ -21,6 +22,7 @@ format = "<b>%s</b>\n%b %p"
markup = full markup = full
word_wrap = true word_wrap = true
show_indicators = false show_indicators = false
show_age_threshold = -1
### History ### ### History ###
@ -29,15 +31,12 @@ history_length = 20
### Misc/Advanced ### ### Misc/Advanced ###
browser = firefox browser = xdg-open
dmenu = rofi -dmenu -p dunst dmenu = rofi -dmenu -p dunst
[shortcuts] mouse_left_click = do_action
close = ctrl+space mouse_middle_click = close_current
close_all = ctrl+shift+space mouse_right_click = open_url
history = ctrl+grave
context = ctrl+shift+period
[urgency_low] [urgency_low]
background = "#8C9440" background = "#8C9440"

11
.config/sxhkd/sxhkdrc

@ -48,6 +48,17 @@ XF86HomePage
XF86Search XF86Search
inputctl -s toggle inputctl -s toggle
#--- Notification ---#
ctrl + {_,shift} + space
dunstctl {close,close-all}
ctrl + grave
dunstctl history-pop
ctrl + shift + period
dunstctl context
#--- Mouse ---# #--- Mouse ---#
# Front side button # Front side button

Loading…
Cancel
Save