mirror of
https://github.com/SeriousBug/dotfiles
synced 2025-02-20 05:19:48 -06:00
Switch keyboard layouts on click
This commit is contained in:
parent
1fe9250159
commit
5b7dbfc14f
|
@ -127,11 +127,10 @@ input "1452:613:Apple_Inc._Magic_Trackpad" {
|
|||
}
|
||||
input "1:1:AT_Translated_Set_2_keyboard" {
|
||||
xkb_options ctrl:swapcaps
|
||||
}
|
||||
input "type:keyboard" {
|
||||
xkb_layout us,tr
|
||||
}
|
||||
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
# Basics:
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
"default": ""
|
||||
}
|
||||
},
|
||||
"sway/language": {
|
||||
"on-click": "swaymsg input '*' xkb_switch_layout next"
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
|
|
Loading…
Reference in a new issue