saving laptop specific settings
This commit is contained in:
parent
4b5e5a8c14
commit
31e71e3649
1 changed files with 23 additions and 0 deletions
23
.config/sway/laptop-l13
Normal file
23
.config/sway/laptop-l13
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
### Output configuration
|
||||||
|
set $laptop eDP-1
|
||||||
|
|
||||||
|
# output $laptop scale 1.2
|
||||||
|
|
||||||
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
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.
|
||||||
|
# Read `man 7 xkeyboard-config` for layout variant and options
|
||||||
|
input type:keyboard {
|
||||||
|
xkb_layout us
|
||||||
|
xkb_variant altgr-intl
|
||||||
|
xkb_options ctrl:swapcaps
|
||||||
|
}
|
||||||
|
|
||||||
|
exec_always ~/bin/laptop-disp.sh
|
||||||
|
exec setaudio.sh
|
||||||
|
exec nm-applet --indicator
|
Loading…
Reference in a new issue