diff --git a/.config/sway/config.d/clamshell b/.config/sway/config.d/clamshell index 0f7abd9..cd7cc46 100644 --- a/.config/sway/config.d/clamshell +++ b/.config/sway/config.d/clamshell @@ -1,6 +1,6 @@ # Clamshell Mode -set $laptop +set $laptop eDP-1 bindswitch --reload --locked lid:on output $laptop disable bindswitch --reload --locked lid:off output $laptop enable -exec_always ~/.config/sway/scripts/clamshell.sh \ No newline at end of file +exec_always ~/.config/sway/scripts/clamshell.sh diff --git a/.config/sway/scripts/clamshell.sh b/.config/sway/scripts/clamshell.sh index 36b5146..3445910 100644 --- a/.config/sway/scripts/clamshell.sh +++ b/.config/sway/scripts/clamshell.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash if cat /proc/acpi/button/lid/*/state | grep -q open; then - swaymsg output enable + swaymsg output eDP-1 enable else - swaymsg output disable + swaymsg output eDP-1 disable fi