update resolution switcher
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if display connected
|
||||
if xrandr --listactivemonitors | grep -q "1: +DP-3"; then
|
||||
if xrandr --listactivemonitors | grep -q "1: +DP"; then
|
||||
autorandr --load home_usbc --force
|
||||
else
|
||||
echo "Monitor 1 (DP-3) is not connected."
|
||||
echo "Monitor 1 (DP) is not connected."
|
||||
fi
|
||||
|
Reference in New Issue
Block a user