mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Update launch_polybar
This commit is contained in:
parent
7d49eaeb46
commit
5d743a1192
@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
#killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||
while pgrep -x polybar >/dev/null; killall -q polybar; done
|
||||
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload main &
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user