mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
13 lines
396 B
Bash
Executable File
13 lines
396 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 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 Polybar, using default config location ~/.config/polybar/config
|
|
polybar main --config=~/.config/polybar/config.ini &
|
|
# polybar main --config=~/.config/polybar/config_new.ini &
|
|
|
|
echo "Polybar launched..." |