summaryrefslogtreecommitdiff
path: root/.config/polybar/dunst.ini
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/dunst.ini')
-rw-r--r--.config/polybar/dunst.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/polybar/dunst.ini b/.config/polybar/dunst.ini
index 202eba0..3186dd0 100644
--- a/.config/polybar/dunst.ini
+++ b/.config/polybar/dunst.ini
@@ -10,5 +10,5 @@ format-underline = ${colors.purple}
hook-0 = echo "%{F$(xresource color2)}%{F-}"
hook-1 = echo "%{F$(xresource color1)}%{F-}"
-click-left = notify-send "DUNST_COMMAND_RESUME" && polybar-msg -p %pid% hook dunst 1
-click-right = notify-send "DUNST_COMMAND_PAUSE" && polybar-msg -p %pid% hook dunst 2
+click-left = dunstctl set-paused false && polybar-msg -p %pid% hook dunst 1
+click-right = dunstctl set-paused true && polybar-msg -p %pid% hook dunst 2