diff --git a/private_dot_config/doom/config.el b/private_dot_config/doom/config.el index 2e6aae3..6e171e0 100644 --- a/private_dot_config/doom/config.el +++ b/private_dot_config/doom/config.el @@ -484,10 +484,14 @@ (add-hook 'doc-view-mode-hook 'auto-revert-mode) (defun disable-dunst-notifs () - (call-process-shell-command "dunstctl set-paused true")) + (call-process-shell-command "dunstctl set-paused true") + (call-process-shell-command "swaync-client -dn") + ) (defun enable-dunst-notifs () - (call-process-shell-command "dunstctl set-paused false")) + (call-process-shell-command "dunstctl set-paused false") + (call-process-shell-command "swaync-client -df") + ) (add-hook 'org-pomodoro-started-hook #'disable-dunst-notifs) (add-hook 'org-pomodoro-finished-hook #'enable-dunst-notifs)