diff options
author | Yigit Sever | 2020-11-06 20:59:03 +0300 |
---|---|---|
committer | Yigit Sever | 2020-11-08 23:18:42 +0300 |
commit | c604b913be8394a683fbda8c021ed49993c50d70 (patch) | |
tree | beeaea93247ea5ab598c31fcd4f3f93a1026dbae /.config/polybar/notification_pause.sh | |
parent | eb7e2ef4ec166d32993bb643b76f1310b4694666 (diff) | |
download | dotfiles-c604b913be8394a683fbda8c021ed49993c50d70.tar.gz dotfiles-c604b913be8394a683fbda8c021ed49993c50d70.tar.bz2 dotfiles-c604b913be8394a683fbda8c021ed49993c50d70.zip |
pause notifications with mod+shift+y
Diffstat (limited to '.config/polybar/notification_pause.sh')
-rwxr-xr-x | .config/polybar/notification_pause.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/notification_pause.sh new file mode 100755 index 0000000..7e59453 --- /dev/null +++ b/.config/polybar/notification_pause.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | TOGGLE=$HOME/.local/share/.pause_notifications | ||
4 | |||
5 | if [ ! -e $TOGGLE ]; then | ||
6 | echo | ||
7 | else | ||
8 | printf "🔕" | ||
9 | fi | ||