toggle ergol_iso
parent
073aacb1a1
commit
721eec0498
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
current=$(swaymsg -t get_inputs | grep -m1 xkb_active_layout_name)
|
||||
|
||||
if echo "$current" | grep -q "Ergo"; then
|
||||
swaymsg input type:keyboard xkb_variant basic
|
||||
else
|
||||
swaymsg input type:keyboard xkb_layout fr
|
||||
swaymsg input type:keyboard xkb_variant ergol_iso
|
||||
fi
|
||||
Loading…
Reference in New Issue