[Polybar] Add polybar-themes installation script

This commit is contained in:
reo6 2023-05-09 11:06:00 +03:00
parent a36d2ab52f
commit 50e02d4258
386 changed files with 58661 additions and 0 deletions

14
polybar/blocks/preview.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
DIR="$HOME/.config/polybar/blocks"
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch the preview bar
polybar -q top -c "$DIR"/preview.ini &
polybar -q mid -c "$DIR"/preview.ini &
polybar -q bottom -c "$DIR"/preview.ini &