From 3f39b068563ab4f98a5524f3024f48379ba434d4 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sat, 22 Jun 2019 17:21:08 +0200 Subject: [PATCH] Add dunst polybar module --- dotfiles/polybar.org | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index 52f3e62..c7fd440 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -442,10 +442,33 @@ * Dunst #+BEGIN_SRC conf [module/dunst] - type = custom/text - content = "" - click-left = dunstify --replace=10524 "Notifications Disabled" && sleep 2 && dunstify "DUNST_COMMAND_PAUSE" - click-right = dunstify "DUNST_COMMAND_RESUME" && dunstify --replace=10524 "Notifications Resumed" + type = custom/script + + format-underline = ${colors.background} + click-left = ~/bin/notifToggle + format =