diff options
Diffstat (limited to 'qubes-dwm-6.2/scripts/display_handler')
| -rwxr-xr-x | qubes-dwm-6.2/scripts/display_handler | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qubes-dwm-6.2/scripts/display_handler b/qubes-dwm-6.2/scripts/display_handler new file mode 100755 index 0000000..a682a07 --- /dev/null +++ b/qubes-dwm-6.2/scripts/display_handler @@ -0,0 +1,6 @@ +#!/bin/sh + +case "${SRANDRD_OUTPUT} ${SRANDRD_EVENT}" in + "HDMI-1 connected") xrandr --output HDMI-1 --auto --output eDP-1 --off;; + "HDMI-1 disconnected") xrandr --output eDP-1 --auto;; +esac |
