commit 73a44851f218b1728c1fd07aded52168e7a9e7c8
parent 431e0983aba5ce36ade5272e6c08318a562e749c
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 29 Oct 2021 11:34:16 +0200
dunst: removed deprecations, moved keybindings to sxhkd
Diffstat:
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/dunst/dunstrc b/dunst/dunstrc
@@ -1,11 +1,12 @@
[global]
monitor = 0
follow = keyboard
- geometry = "350x5-0+24"
+ width = 350
+ origin = top-right
+ notification_limit = 24
indicate_hidden = yes
shrink = yes
transparency = 20
- notification_height = 0
separator_height = 2
padding = 0
horizontal_padding = 8
@@ -53,26 +54,18 @@
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
sticky_history = yes
history_length = 20
- dmenu = /usr/bin/dmenu -p dunst:
- browser = /usr/bin/firefox -new-tab
+ dmenu = /usr/local/bin/dmenu
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
title = Dunst
class = Dunst
- startup_notification = false
force_xinerama = false
[experimental]
per_monitor_dpi = false
-[shortcuts]
- close = ctrl+space
- close_all = ctrl+shift+space
- history = ctrl+grave
- context = ctrl+shift+period
-
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
@@ -14,3 +14,12 @@ super + ctrl + space
dmenuunicode
super + l
slock -m "$(figlet -f big LOCKED)"
+
+ctrl + space
+ dunstctl close
+ctrl + shift + space
+ dunstctl close-all
+ctrl + grave
+ dunstctl history-pop
+ctrl + shift + period
+ dunstctl context