summaryrefslogtreecommitdiff
path: root/linux/bin/asdf
blob: 39b1f7ceb78afd56d62d6d7add84fd7f5e3941df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ -n "$SSH_CONNECTION" ]; then
	echo "Dude, du bist in einer ssh session. Wie soll ich das Tastaturlayout hier ändern?"
	exit 1
fi
if [ -z "$DISPLAY" ]; then
	echo "Dude, du bist auf der Textkonsole. Ich kann das Layout nur auf dem X Server ändern!"
	exit 1
fi

setxkbmap de neo