···27272828# clamshell mode
2929set $laptop eDP-1
3030-bindswitch --reload lid:on output $laptop disable ; exec sudo ip link set down wlp2s0
3131-bindswitch --reload lid:off output $laptop enable ; exec sudo ip link set up wlp2s0
3030+bindswitch --reload lid:on output $laptop disable
3131+bindswitch --reload lid:off output $laptop enable
32323333# You can get the names of your outputs by running: swaymsg -t get_outputs
34343535### Idle configuration
3636-exec swayidle -w \
3737- timeout 700 'swaylock -f -c 000000' \
3838- timeout 900 'swaymsg "output * dpms off"' \
3939- resume 'swaymsg "output * dpms on"' \
4040- before-sleep 'swaylock -f -c 000000'
3636+# exec swayidle -w \
3737+# timeout 700 'swaylock -f -c 000000' \
3838+# timeout 900 'swaymsg "output * dpms off"' \
3939+# resume 'swaymsg "output * dpms on"' \
4040+# before-sleep 'swaylock -f -c 000000'
4141# This will lock your screen after 700 seconds of inactivity, then turn off
4242# your displays after another 900 seconds, and turn your screens back on when
4343# resumed. It will also lock your screen before your computer goes to sleep.