1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2025-02-21 21:59:54 -06:00

Switch keyboard layouts on click

This commit is contained in:
Kaan Barmore-Genç 2023-04-24 20:51:07 -04:00
parent 1fe9250159
commit 5b7dbfc14f
Signed by: kaan
GPG key ID: B2E280771CD62FCF
2 changed files with 4 additions and 2 deletions

View file

@ -127,11 +127,10 @@ input "1452:613:Apple_Inc._Magic_Trackpad" {
} }
input "1:1:AT_Translated_Set_2_keyboard" { input "1:1:AT_Translated_Set_2_keyboard" {
xkb_options ctrl:swapcaps xkb_options ctrl:swapcaps
}
input "type:keyboard" {
xkb_layout us,tr xkb_layout us,tr
} }
### Key bindings ### Key bindings
# #
# Basics: # Basics:

View file

@ -23,6 +23,9 @@
"default": "" "default": ""
} }
}, },
"sway/language": {
"on-click": "swaymsg input '*' xkb_switch_layout next"
},
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
"capslock": true, "capslock": true,