organize
This commit is contained in:
8
scripts/displayctl
Executable file
8
scripts/displayctl
Executable 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
|
||||
Reference in New Issue
Block a user