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

@@ -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 &