diff options
Diffstat (limited to 'bin/hornet/vscreen')
-rwxr-xr-x | bin/hornet/vscreen | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/bin/hornet/vscreen b/bin/hornet/vscreen index d39b389..52fc5cc 100755 --- a/bin/hornet/vscreen +++ b/bin/hornet/vscreen @@ -1,17 +1,16 @@ #!/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 - ;; +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 |