split sway config for different devices
This commit is contained in:
parent
261141345d
commit
4d08c12db7
2 changed files with 16 additions and 14 deletions
|
@ -26,7 +26,6 @@ set $background /home/thrrgilag/.background
|
||||||
set $background_lock /home/thrrgilag/.background_lock
|
set $background_lock /home/thrrgilag/.background_lock
|
||||||
|
|
||||||
set $lock swaylock -i $background_lock
|
set $lock swaylock -i $background_lock
|
||||||
set $laptop eDP-1
|
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
|
@ -42,18 +41,6 @@ output * bg $background fill
|
||||||
# before-sleep '$lock -f'
|
# before-sleep '$lock -f'
|
||||||
exec /home/thrrgilag/bin/idle
|
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
|
### Key bindings
|
||||||
#
|
#
|
||||||
# Basics:
|
# 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 lxpolkit
|
||||||
exec nm-applet --indicator
|
exec nm-applet --indicator
|
||||||
|
|
14
.config/sway/laptop
Normal file
14
.config/sway/laptop
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Reference in a new issue