update website publish script

This commit is contained in:
2025-06-15 17:05:09 +02:00
parent a58c51fd4a
commit 1e1bb5caab
3 changed files with 47 additions and 1 deletions

View File

@ -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."