#!/bin/sh if [ -n "$DISPLAY" ]; then setxkbmap -layout deelse sudo loadkeys -u -q defi
#!/bin/sh
if [ -n "$DISPLAY" ]; then
setxkbmap -layout de
else
sudo loadkeys -u -q de
fi