(polybar) fixed polybar launch for voidlinux
This commit is contained in:
@@ -45,7 +45,7 @@ exec --no-startup-id dunst
|
|||||||
exec --no-startup-id picom -b
|
exec --no-startup-id picom -b
|
||||||
|
|
||||||
# clean up and start polybar
|
# 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
|
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
|
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
if type "xrandr"; then
|
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 &
|
MONITOR=$m polybar --reload toph &
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
polybar --reload toph &
|
polybar --reload toph &
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user