[Polybar] Add polybar-themes installation script
This commit is contained in:
parent
a36d2ab52f
commit
50e02d4258
386 changed files with 58661 additions and 0 deletions
14
polybar/shades/preview.sh
Executable file
14
polybar/shades/preview.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$HOME/.config/polybar/shades"
|
||||
|
||||
# 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 &
|
||||
Loading…
Add table
Add a link
Reference in a new issue