Add projector script

This commit is contained in:
2024-07-07 17:14:48 +02:00
parent ff5897e3b2
commit 9307929381

12
projector.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
switch_back() {
screencfg --setup laptop-only
}
trap switch_back EXIT
xrandr --output eDP-1 --off --output DP-1 --auto # --mode 1920x1080
printf 'press ENTER or CTRL+C to switch back'
read -r _