[sxhkd] reapply .Xmodmap when changing lang to ENG
authorAmin Bandali <me@aminb.org>
Thu, 24 Dec 2015 03:16:03 +0000 (22:16 -0500)
committerAmin Bandali <me@aminb.org>
Thu, 24 Dec 2015 03:16:03 +0000 (22:16 -0500)
sxhkd/.local/bin/toggle-layout

index fcae134..cb259b4 100755 (executable)
@@ -6,4 +6,5 @@ if [ "$lang" = "us" ]; then
     setxkbmap ir
 else
     setxkbmap us
     setxkbmap ir
 else
     setxkbmap us
-fi
\ No newline at end of file
+    xmodmap $HOME/.Xmodmap
+fi