diff options
Diffstat (limited to 'sway/sway_outputs')
| -rwxr-xr-x | sway/sway_outputs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sway/sway_outputs b/sway/sway_outputs new file mode 100755 index 0000000..e8c8505 --- /dev/null +++ b/sway/sway_outputs @@ -0,0 +1,9 @@ +#!/bin/sh + +at_home=$(swaymsg -t get_outputs | grep 'TH7AA0012451') + +if [ -n "$at_home" ]; then + swaymsg output VGA-1 enable scale 1.5 + swaymsg output LVDS-1 disable + swaymsg workspace number 1 +fi; |
