#! /bin/sh if [ -f /tmp/nospanish ]; then setxkbmap us,ru && xkb-switch -n else if [ -f /tmp/noenglish ]; then setxkbmap ru,es && xkb-switch -n else setxkbmap us,ru,es && xkb-switch -n fi fi