From c604b913be8394a683fbda8c021ed49993c50d70 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 6 Nov 2020 20:59:03 +0300 Subject: pause notifications with mod+shift+y --- .config/polybar/notification_pause.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .config/polybar/notification_pause.sh (limited to '.config/polybar/notification_pause.sh') 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 @@ +#!/usr/bin/env bash + +TOGGLE=$HOME/.local/share/.pause_notifications + +if [ ! -e $TOGGLE ]; then + echo +else + printf "🔕" +fi -- cgit v1.2.3-70-g09d2