Sway
Link
FAQ
Set keyboard layout to “dk” for current session only
- Example for Danish:
swaymsg input type:keyboard xkb_layout "dk"
Set keyboard layout to “dk” for all sessions
mkdir -p ~/.config/environment.d
echo 'XKB_DEFAULT_LAYOUT=dk' >> ~/.config/environment.d/11-keyboard.conf
Configure monitor placement
Use kanshi
; see Working on Fedora Sway Spin