summaryrefslogtreecommitdiff
path: root/dmenukblayout
diff options
context:
space:
mode:
authornikolaus <nikolaus@fishbox.fritz.box>2022-09-07 13:53:07 +0200
committernikolaus <nikolaus@fishbox.fritz.box>2022-09-07 13:53:07 +0200
commitafe087c85da7bd8456cb7df9f60759242ec41c44 (patch)
tree5b83aa332a149dbaf6a2315df08956afbf841d81 /dmenukblayout
Initial commit & first scripts.
Diffstat (limited to 'dmenukblayout')
-rwxr-xr-xdmenukblayout11
1 files changed, 11 insertions, 0 deletions
diff --git a/dmenukblayout b/dmenukblayout
new file mode 100755
index 0000000..2e149ef
--- /dev/null
+++ b/dmenukblayout
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+layouts=" \
+us setxkbmap us
+de setxkbmap de
+rus setxkbmap ru"
+choice="$(echo "$layouts" | cut -d" " -f 1 | dmenu )"
+
+$(echo "$layouts" | grep "^$choice " | cut -d ' ' -f2) && remaps
+#xmodmap -e "keysym Super_R = Escape"
+#xmodmap -e "keysym Menu = Escape"