summaryrefslogtreecommitdiffstats
path: root/.config/polybar/scripts/notification_pause
diff options
context:
space:
mode:
authorYigit Sever2021-10-27 11:05:01 +0300
committerYigit Sever2021-10-27 11:05:01 +0300
commit67f5cb9386454d9a3fa2517540de03c2ed6f08f3 (patch)
treeda9df8c1fee214c76a65c1a648e5f83fb0611d8e /.config/polybar/scripts/notification_pause
parent5ee15326de8e22f86eabd2ec0d0087ef12724f45 (diff)
downloaddotfiles-67f5cb9386454d9a3fa2517540de03c2ed6f08f3.tar.gz
dotfiles-67f5cb9386454d9a3fa2517540de03c2ed6f08f3.tar.bz2
dotfiles-67f5cb9386454d9a3fa2517540de03c2ed6f08f3.zip
polybar: clean up the scripts
Diffstat (limited to '.config/polybar/scripts/notification_pause')
-rwxr-xr-x.config/polybar/scripts/notification_pause7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/polybar/scripts/notification_pause b/.config/polybar/scripts/notification_pause
new file mode 100755
index 0000000..9bf6724
--- /dev/null
+++ b/.config/polybar/scripts/notification_pause
@@ -0,0 +1,7 @@
1#!/usr/bin/env bash
2
3if ! $(dunstctl is-paused); then
4 echo
5else
6 printf ""
7fi