sway: machine-local overrides via local.d/*, default layout to dk
This commit is contained in:
@@ -152,3 +152,5 @@ bindsym $mod+r mode "resize"
|
||||
bindsym --locked Shift+XF86MonBrightnessDown exec brightnessctl --device=kbd_backlight set 1%-
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
# Machine-local overrides (not tracked in dotfiles)
|
||||
include $HOME/.config/sway/local.d/*
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
|
||||
# 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 * {
|
||||
xkb_layout dk
|
||||
xkb_options lv3:lalt_switch
|
||||
pointer_accel 0
|
||||
}
|
||||
|
||||
3
sway/.config/sway/local.d/keyboard
Normal file
3
sway/.config/sway/local.d/keyboard
Normal file
@@ -0,0 +1,3 @@
|
||||
input * {
|
||||
xkb_layout dk_mac_fixed
|
||||
}
|
||||
Reference in New Issue
Block a user