+ Polybar launch script
This commit is contained in:
parent
6e504b6750
commit
0e3b88ff63
12
launch_polybar.sh
Normal file
12
launch_polybar.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Kill off previous version of polybar
|
||||||
|
kill $(pgrep polybar)
|
||||||
|
|
||||||
|
if type 'xrandr'; then
|
||||||
|
for m in $(xrandr --query | grep ' connected' | cut -d ' ' -f1);do
|
||||||
|
MONITOR=$m polybar --reload cute &
|
||||||
|
done
|
||||||
|
else
|
||||||
|
polybar --reload cute &
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user