sway: set keyboard layout via XKB_DEFAULT_LAYOUT env var

This commit is contained in:
Jonas H
2026-02-27 23:46:48 +01:00
parent 64a95d0cf4
commit 4ad1b83b71

View File

@@ -1,7 +1,7 @@
# MACHINE-SPECIFIC: dk_mac_fixed is a custom layout. Change to e.g. `dk` on standard hardware. # Keyboard layout is set via XKB_DEFAULT_LAYOUT env var — set it per machine
# in ~/.config/environment.d/keyboard.conf, e.g.: XKB_DEFAULT_LAYOUT=dk_mac_fixed
input * { input * {
xkb_layout dk_mac_fixed
xkb_options lv3:lalt_switch xkb_options lv3:lalt_switch
pointer_accel 0 pointer_accel 0
} }