#!/bin/sh if [ -n "$DISPLAY" ]; then setxkbmap -layout us -variant altgr-intl else sudo loadkeys -u -q us fi