#!/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"