fix xkb issues, change espanso formatting
This commit is contained in:
parent
ef0ae94080
commit
a100acda87
4 changed files with 18 additions and 15 deletions
4
util/toggle_xkb.xsh
Normal file
4
util/toggle_xkb.xsh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import re
|
||||
|
||||
_ = $(swaymsg input "type:keyboard" xkb_switch_layout next)
|
||||
print("Layout: " + re.search(r'"xkb_active_layout_name": "(.+?)"', $(swaymsg -t get_inputs)).group(1))
|
||||
Loading…
Add table
Add a link
Reference in a new issue