update website publish script
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if display connected
|
||||
if xrandr --listactivemonitors | grep -q "1: +DP"; then
|
||||
if xrandr --listactivemonitors | grep -q "2560/597x1440/336+0+0"; then
|
||||
autorandr --load home_usbc --force
|
||||
else
|
||||
echo "Monitor 1 (DP) is not connected."
|
||||
|
Reference in New Issue
Block a user