diff options
author | Yigit Sever | 2021-10-27 11:05:01 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-27 11:05:01 +0300 |
commit | 67f5cb9386454d9a3fa2517540de03c2ed6f08f3 (patch) | |
tree | da9df8c1fee214c76a65c1a648e5f83fb0611d8e /.config/polybar/scripts/notification_pause | |
parent | 5ee15326de8e22f86eabd2ec0d0087ef12724f45 (diff) | |
download | dotfiles-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_pause | 7 |
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 | |||
3 | if ! $(dunstctl is-paused); then | ||
4 | echo | ||
5 | else | ||
6 | printf "" | ||
7 | fi | ||