From afe087c85da7bd8456cb7df9f60759242ec41c44 Mon Sep 17 00:00:00 2001 From: nikolaus Date: Wed, 7 Sep 2022 13:53:07 +0200 Subject: Initial commit & first scripts. --- dmenukblayout | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 dmenukblayout (limited to 'dmenukblayout') 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" -- cgit v1.2.1