This commit is contained in:
nik
2025-10-15 17:41:27 -07:00
parent 1f6349fdae
commit 5dee92a92a
9 changed files with 16 additions and 0 deletions

8
scripts/displayctl Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
DISPLAY_STATUS=$(xrandr | grep DP-4)
if [[ "$DISPLAY_STATUS" == *"1440x3440"* ]]; then
xrandr --output DP-4 --off
else
init_displays
fi