Closed yuceltoluyag closed 1 year ago
https://github.com/dunst-project/dunst/pull/830
Drop in replacements for the removed commands: notify-send DUNST_COMMAND_PAUSE -> dunstctl set-paused true notify-send DUNST_COMMAND_RESUME -> dunstctl set-paused false notify-send DUNST_COMMAND_TOGGLE -> dunstctl set-paused toggle
Drop in replacements for the removed commands:
notify-send DUNST_COMMAND_PAUSE -> dunstctl set-paused true notify-send DUNST_COMMAND_RESUME -> dunstctl set-paused false notify-send DUNST_COMMAND_TOGGLE -> dunstctl set-paused toggle
[module/dnd] type = custom/ipc initial = 1 hook-0 = echo "%{A1:notify-send 'DUNST_COMMAND_PAUSE' && polybar-msg hook dnd 2:}%{T7}%{T-}%{A}" & hook-1 = echo "%{A1:notify-send 'DUNST_COMMAND_RESUME' && polybar-msg hook dnd 1:}%{T7}%{T-}%{A}" & format-foreground = ${colors.fg} format-padding = 1
Thank you!
https://github.com/dunst-project/dunst/pull/830