chezmoi/dot_config/sway/config.d/clamshell
kjuulh 9d6cc15469
Add .config/sway/cheatsheet
Add .config/sway/config
Add .config/sway/config.d/application_defaults
Add .config/sway/config.d/autostart_applications
Add .config/sway/config.d/clamshell
Add .config/sway/config.d/default
Add .config/sway/config.d/input
Add .config/sway/config.d/output
Add .config/sway/config.d/theme
Add .config/sway/keyboard.conf
Add .config/sway/scripts/clamshell.sh
Add .config/sway/scripts/import-gsettings
Add .config/sway/scripts/lockman.sh
Add .config/sway/scripts/screenshot.sh
Add .config/sway/scripts/swayfader.py
Add .config/sway/scripts/weather.sh
Add .config/sway/sway.png
Add .config/sway/swaylock.png
2023-07-25 15:39:26 +02:00

7 lines
202 B
Plaintext

# Clamshell Mode
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