summaryrefslogtreecommitdiff
path: root/sway/sway_outputs
blob: 98cabceb6ad2194188a6495098d9ae33592ab993 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

at_home=$(swaymsg -t get_outputs | grep 'CB242Y')

if [ -n "$at_home" ]; then
	swaymsg output HDMI-A-1 enable scale 1
	swaymsg output eDP-1 disable
	swaymsg workspace number 1
fi;