mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
15efa18f42
@ -21,7 +21,7 @@ background = #1d2021
|
|||||||
foreground = #ebdbb2
|
foreground = #ebdbb2
|
||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
monitor = ${env:MONITOR:eDP-1-1}
|
monitor = ${env:MONITOR:}
|
||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 20
|
height = 20
|
||||||
@ -130,6 +130,8 @@ format = <label-state> <label-mode>
|
|||||||
index-sort = true
|
index-sort = true
|
||||||
wrapping-scroll = false
|
wrapping-scroll = false
|
||||||
|
|
||||||
|
pin-workspaces = true
|
||||||
|
|
||||||
label-mode-padding = 1
|
label-mode-padding = 1
|
||||||
label-mode-foreground = ${colors.white}
|
label-mode-foreground = ${colors.white}
|
||||||
label-mode-background = ${colors.darkyellow}
|
label-mode-background = ${colors.darkyellow}
|
||||||
|
|||||||
@ -3,6 +3,12 @@
|
|||||||
# Terminate already running bar instances
|
# Terminate already running bar instances
|
||||||
killall -q polybar
|
killall -q polybar
|
||||||
|
|
||||||
for i in $(polybar -m | awk -F: '{print $1}'); do MONITOR=$i polybar main & done
|
if type "xrandr"; then
|
||||||
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
|
MONITOR=$m polybar --reload main &
|
||||||
|
done
|
||||||
|
else
|
||||||
|
polybar --reload main &
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Bars launched..."
|
echo "Bars launched..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user