blob: d39b38977fcc0b6a0ce8a73b42889b5854fe64c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
case "$1" in
goto)
xrandr --addmode VIRTUAL1 1920x1080
xrandr --output VIRTUAL1 --auto --output eDP1 --auto --left-of VIRTUAL1
i3-switch-workspace virtual
;;
off)
xrandr --output VIRTUAL1 --off
;;
*)
echo "bad subcommand $1" >&2
exit 1
;;
esac
|