2021-04-07 21:50:08 +00:00
|
|
|
### Output configuration
|
|
|
|
set $laptop LVDS-1
|
|
|
|
|
2021-04-07 22:05:46 +00:00
|
|
|
bindswitch --reload --locked lid:on output $laptop disable
|
|
|
|
bindswitch --reload --locked lid:off output $laptop enable
|
2021-04-07 21:50:08 +00:00
|
|
|
bindsym --locked $mod+F8 output $laptop enable
|
|
|
|
bindsym --locked $mod+Mod1+F8 output $laptop disable
|
|
|
|
|
|
|
|
### Input configuration
|
|
|
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
|
|
|
# Read `man 5 sway-input` for more information about this section.
|
|
|
|
input type:keyboard {
|
|
|
|
xkb_options ctrl:swapcaps
|
|
|
|
}
|
2021-04-07 22:05:46 +00:00
|
|
|
|
|
|
|
exec_always ~/bin/laptop-disp.sh
|