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:
parent
1fe9250159
commit
5b7dbfc14f
|
@ -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:
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue