mirror of
https://github.com/wlinator/dotfiles.git
synced 2024-10-02 17:03:13 +00:00
15 lines
443 B
Bash
Executable file
15 lines
443 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Terminate already running bar instances
|
|
killall -q polybar
|
|
# If all your bars have ipc enabled, you can also use
|
|
# polybar-msg cmd quit
|
|
|
|
# Launch Polybar, using default config location ~/.config/polybar/config.ini
|
|
# polybar main 2>&1 | tee -a /tmp/polybar.log & disown
|
|
|
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
|
MONITOR=$m polybar --reload main &
|
|
done
|
|
|
|
echo "Polybar launched.. (~/.config/polybar/launch.sh)"
|