summaryrefslogtreecommitdiffstats
path: root/sxhkd/.local/bin/toggle-layout
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-04-29 00:05:14 -0400
committerAmin Bandali <amin@aminb.org>2018-04-29 00:05:14 -0400
commitb13e2dc196995c5a8941b366c56e9ba597ed50db (patch)
treee3936aab6213e545a7e46834e1ed4195bd250ebc /sxhkd/.local/bin/toggle-layout
parentd3e6bf8ceb0ea00888a6e1e9a3921f7f9b967a00 (diff)
downloadconfigs-b13e2dc196995c5a8941b366c56e9ba597ed50db.tar.gz
configs-b13e2dc196995c5a8941b366c56e9ba597ed50db.tar.xz
configs-b13e2dc196995c5a8941b366c56e9ba597ed50db.zip
[rc/{afew,bspwm}] migrate afew and bspwm (and sxhkd) configs
Diffstat (limited to 'sxhkd/.local/bin/toggle-layout')
-rwxr-xr-xsxhkd/.local/bin/toggle-layout10
1 files changed, 0 insertions, 10 deletions
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