This commit is contained in:
Marco Thomas
2020-11-17 09:47:25 +01:00
parent 1a8ef8dad2
commit 09f6976477
6 changed files with 27 additions and 8 deletions

View File

@@ -28,6 +28,8 @@ padding-right = 2
separator =
locale =
modules-left = i3 spotify
modules-center = date time
modules-right = cpu memory network volume backlight battery
@@ -72,8 +74,7 @@ ws-icon-8 = 9;九
ws-icon-9 = 10;十
label-focused = "%icon%"
label-focused-foreground = ${colors.background}
label-focused-background = ${colors.accent}
label-focused-foreground = ${colors.accent}
label-focused-padding = 2
label-unfocused = "%icon%"

View File

@@ -3,7 +3,7 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
if type "xrandr"; then
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
if [ $mon = "eDP-1" ]; then
if [ $mon = "eDP" ]; then
MONITOR=$mon polybar --reload laptop &
elif [ $mon = "DP-3" ]; then
MONITOR="DP-3" polybar --reload desktop &