Update .spacemacs
[~bandali/configs] / sxhkd / .local / bin / toggle-layout
CommitLineData
ed5099ff
AB
1#!/bin/bash
2
3lang="$(setxkbmap -print | grep xkb_symbols | cut -d'+' -f 2)"
4
5if [ "$lang" = "us" ]; then
6 setxkbmap ir
7else
8 setxkbmap us
23a1f61a 9 #xmodmap $HOME/.Xmodmap
35946816 10fi