diff options
Diffstat (limited to '.config/polybar')
-rwxr-xr-x | .config/polybar/focus | 1 | ||||
-rwxr-xr-x | .config/polybar/notification_pause.sh | 4 | ||||
-rwxr-xr-x | .config/polybar/stop | 1 |
3 files changed, 1 insertions, 5 deletions
diff --git a/.config/polybar/focus b/.config/polybar/focus index 42edffb..49d46d2 100755 --- a/.config/polybar/focus +++ b/.config/polybar/focus | |||
@@ -44,4 +44,3 @@ if ($task =~ m/^(.*)?\s(\d+\w+)$/g) { | |||
44 | print "$1 | $2"; | 44 | print "$1 | $2"; |
45 | } | 45 | } |
46 | } | 46 | } |
47 | # print $task; | ||
diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/notification_pause.sh index 1df1bd6..9bf6724 100755 --- a/.config/polybar/notification_pause.sh +++ b/.config/polybar/notification_pause.sh | |||
@@ -1,8 +1,6 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | 2 | ||
3 | TOGGLE=$HOME/.local/share/.pause_notifications | 3 | if ! $(dunstctl is-paused); then |
4 | |||
5 | if [ ! -e $TOGGLE ]; then | ||
6 | echo | 4 | echo |
7 | else | 5 | else |
8 | printf "" | 6 | printf "" |
diff --git a/.config/polybar/stop b/.config/polybar/stop index 58f8741..1efd193 100755 --- a/.config/polybar/stop +++ b/.config/polybar/stop | |||
@@ -44,4 +44,3 @@ if ($task =~ m/^(\d+)(.*)$/g) { | |||
44 | exec(qq(dunstify --appname="task" --icon="kt-pause" "stopping" "$1")); | 44 | exec(qq(dunstify --appname="task" --icon="kt-pause" "stopping" "$1")); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | |||