Broke up sway config into multiple files

This commit is contained in:
2026-02-12 20:49:52 +01:00
parent 40bb01e3a3
commit ab09268eaa
9 changed files with 267 additions and 323 deletions

17
.config/sway/input Normal file
View File

@@ -0,0 +1,17 @@
# Input configuration
## Default to swedish qwerty
input * {
xkb_layout "se"
}
## Bind backspace to capslock
input "*" xkb_options caps:backspace
## Set colemak layout on surface laptop
input 1118:2478:Microsoft_Surface_045E:09AE_Keyboard xkb_layout colemak-se
## Set colemak layout on printer desktop
input 9494:26:CM_Storm_Keyboard_--_QuickFire_XT xkb_layout colemak-se
## Remove pointer acceleration
input "type:pointer" {
accel_profile "flat"
pointer_accel 0
}