Add files via upload

This commit is contained in:
Quinta
2023-03-18 22:21:53 +01:00
committed by GitHub
commit fd733cd338
100 changed files with 8809 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
killall -q glava
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
if [ "$1" == "light" ]
then
polybar -c $HOME/.config/polybar/light-config nord-top &
polybar -c $HOME/.config/polybar/light-config nord-down &
glava --desktop &
else
polybar -c $HOME/.config/polybar/dark-config nord-top &
polybar -c $HOME/.config/polybar/dark-config nord-down &
glava --desktop &
fi
echo "Bars launched..."