X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/d3e6bf8ceb0ea00888a6e1e9a3921f7f9b967a00..b13e2dc196995c5a8941b366c56e9ba597ed50db:/sxhkd/.local/bin/toggle-layout?ds=sidebyside diff --git a/sxhkd/.local/bin/toggle-layout b/sxhkd/.local/bin/toggle-layout deleted file mode 100755 index 5df7e2f..0000000 --- a/sxhkd/.local/bin/toggle-layout +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -lang="$(setxkbmap -print | grep xkb_symbols | cut -d'+' -f 2)" - -if [ "$lang" = "us" ]; then - setxkbmap ir -else - setxkbmap us - #xmodmap $HOME/.Xmodmap -fi