Explorar el Código

~/.bin/xkbswap: Swap around the current keymap (de, us).

I never use it myself, it's bound to `Mod4+l`.
Lucas Stadler %!s(int64=14) %!d(string=hace) años
padre
commit
558caa48b0
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      .bin/xkbswap

+ 11 - 0
.bin/xkbswap

@ -0,0 +1,11 @@
1
#!/bin/sh
2
3
# Swap the current keyboard layout (from de to us and back again).
4
5
if setxkbmap -query | grep us &> /dev/null; then
6
	lang=de
7
else
8
	lang=us
9
fi
10
11
setxkbmap $lang