From 41feb6fb39c17ee92089536b205f5f6bd332b856 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 21 Oct 2021 11:55:21 +0200 Subject: [PATCH] Config: Update dunstrc for 1.7 compatibility, add mouse actions --- .config/dunst/dunstrc | 15 +++++++-------- .config/sxhkd/sxhkdrc | 11 +++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index f2fb656..9698157 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -2,7 +2,8 @@ ### Display ### -geometry = "0x0-20-20" +origin = "bottom-right" +offset = "20x20" horizontal_padding = 15 idle_threshold = 120 indicate_hidden = false @@ -21,6 +22,7 @@ format = "%s\n%b %p" markup = full word_wrap = true show_indicators = false +show_age_threshold = -1 ### History ### @@ -29,15 +31,12 @@ history_length = 20 ### Misc/Advanced ### -browser = firefox +browser = xdg-open dmenu = rofi -dmenu -p dunst -[shortcuts] -close = ctrl+space -close_all = ctrl+shift+space - -history = ctrl+grave -context = ctrl+shift+period +mouse_left_click = do_action +mouse_middle_click = close_current +mouse_right_click = open_url [urgency_low] background = "#8C9440" diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 6d25a54..43bd139 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -48,6 +48,17 @@ XF86HomePage XF86Search inputctl -s toggle +#--- Notification ---# + +ctrl + {_,shift} + space + dunstctl {close,close-all} + +ctrl + grave + dunstctl history-pop + +ctrl + shift + period + dunstctl context + #--- Mouse ---# # Front side button