Files
MyI3Config-fork/scripts/keyboard-setup.sh
2026-02-09 11:42:36 +00:00

10 lines
182 B
Bash
Executable File

#!/bin/bash
if [ -n "$SWAYSOCK" ]; then
# Sway
swaymsg input "*" xkb_layout "ch"
swaymsg input "*" xkb_variant "de"
else
# i3
setxkbmap -layout ch -variant de
fi