diff --git a/.config/sway/config b/.config/sway/config index 1734c7d..373a8dd 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -26,7 +26,6 @@ set $background /home/thrrgilag/.background set $background_lock /home/thrrgilag/.background_lock set $lock swaylock -i $background_lock -set $laptop eDP-1 ### Output configuration # @@ -42,18 +41,6 @@ output * bg $background fill # before-sleep '$lock -f' exec /home/thrrgilag/bin/idle -#bindswitch --reload lid:on output $laptop disable -#bindswitch --reload 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. -input type:keyboard { - xkb_options ctrl:swapcaps -} - ### Key bindings # # Basics: @@ -253,7 +240,8 @@ bar { } } -include /etc/sway/config.d/* +# may be linked to ~/dotfiles/.config/sway/laptop +include ~/.config/sway/local exec lxpolkit exec nm-applet --indicator diff --git a/.config/sway/laptop b/.config/sway/laptop new file mode 100644 index 0000000..15be254 --- /dev/null +++ b/.config/sway/laptop @@ -0,0 +1,14 @@ +### Output configuration +set $laptop LVDS-1 + +#bindswitch --reload lid:on output $laptop disable +#bindswitch --reload 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. +input type:keyboard { + xkb_options ctrl:swapcaps +}