(polybar) fixed polybar launch for voidlinux

This commit is contained in:
2026-06-07 23:07:03 +02:00
parent a202b07d1a
commit 1429b3b9a7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ exec --no-startup-id dunst
exec --no-startup-id picom -b
# clean up and start polybar
exec_always --no-startup-id killall polybar
exec_always --no-startup-id pkill polybar
exec_always --no-startup-id bash ~/.config/polybar/launch_polybar.sh
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
+2 -2
View File
@@ -1,7 +1,7 @@
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
for m in $(xrandr --query | grep " connected " | cut -d" " -f1); do
MONITOR=$m polybar --reload toph &
done
else
polybar --reload toph &
fi
fi