summaryrefslogtreecommitdiff
path: root/linux/bin/asdf
diff options
context:
space:
mode:
Diffstat (limited to 'linux/bin/asdf')
-rwxr-xr-xlinux/bin/asdf12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/bin/asdf b/linux/bin/asdf
new file mode 100755
index 0000000..39b1f7c
--- /dev/null
+++ b/linux/bin/asdf
@@ -0,0 +1,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