diff options
Diffstat (limited to '.config/polybar')
-rwxr-xr-x | .config/polybar/launch.sh | 7 | ||||
-rwxr-xr-x | .config/polybar/notification_pause.sh | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index e6c42ff..a99d452 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh | |||
@@ -1,12 +1,15 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | # Try your luck one last time | ||
4 | fc-cache -fv | ||
5 | |||
3 | # Terminate already running bar instances | 6 | # Terminate already running bar instances |
4 | killall -q polybar | 7 | killall -q polybar |
5 | 8 | ||
6 | # Wait until the processes have been shut down | 9 | # Wait until the processes have been shut down |
7 | while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done | 10 | while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done |
8 | 11 | ||
9 | # Launch bar1 and bar2 | 12 | # Launch bar |
10 | polybar top & | 13 | polybar top & |
11 | 14 | ||
12 | echo "Bars launched..." | 15 | echo "Bar launched..." |
diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/notification_pause.sh index 7e59453..1df1bd6 100755 --- a/.config/polybar/notification_pause.sh +++ b/.config/polybar/notification_pause.sh | |||
@@ -5,5 +5,5 @@ TOGGLE=$HOME/.local/share/.pause_notifications | |||
5 | if [ ! -e $TOGGLE ]; then | 5 | if [ ! -e $TOGGLE ]; then |
6 | echo | 6 | echo |
7 | else | 7 | else |
8 | printf "🔕" | 8 | printf "" |
9 | fi | 9 | fi |