mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Create launch
This commit is contained in:
parent
ea017304fa
commit
b9cf706f41
11
.config/polybar/launch
Normal file
11
.config/polybar/launch
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
name=main
|
||||
pkill polybar
|
||||
if type "xrandr"; then
|
||||
for monitor in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=${monitor} polybar --reload ${name}&
|
||||
done
|
||||
else
|
||||
polybar --reload ${name} &
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user