Added clamshell mode

This commit is contained in:
opalvault
2022-02-05 22:09:28 -08:00
parent a3f19f38f2
commit ecb442424b
2 changed files with 26 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ seat * hide_cursor 4000
# Notifications
exec_always --no-startup-id dunst
# Clamshell Mode Script
exec_always ~/dotfiles/.config/sway/clamshell.sh
# flash focus
exec --no-startup-id flashfocus
@@ -99,6 +102,10 @@ input type:keyboard {
repeat_rate 45
}
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
# Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs
# output eDP-1 pos 0 0 res 1920x1200