Now should launch i3 specific polybar config instead of standard config.
This commit is contained in:
parent
78f26648a0
commit
8032ed263e
@ -21,10 +21,10 @@ case $desktop in
|
|||||||
i3)
|
i3)
|
||||||
if type "xrandr" > /dev/null; then
|
if type "xrandr" > /dev/null; 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 mainbar-i3 -c ~/.config/polybar/config &
|
MONITOR=$m polybar --reload mainbar-i3 -c ~/.config/polybar/i3config &
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
polybar --reload mainbar-i3 -c ~/.config/polybar/config &
|
polybar --reload mainbar-i3 -c ~/.config/polybar/i3config &
|
||||||
fi
|
fi
|
||||||
# second polybar at bottom
|
# second polybar at bottom
|
||||||
# if type "xrandr" > /dev/null; then
|
# if type "xrandr" > /dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user