summaryrefslogtreecommitdiff
path: root/retardX11.sh
diff options
context:
space:
mode:
Diffstat (limited to 'retardX11.sh')
-rwxr-xr-xretardX11.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/retardX11.sh b/retardX11.sh
new file mode 100755
index 0000000..3be0261
--- /dev/null
+++ b/retardX11.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+case $1 in
+ start)
+ echo starting retard X access
+ xhost +SI:localuser:retard
+ sudo su retard
+ ;;
+
+ stop)
+ echo stopping retard X access
+ xhost -SI:localuser:retard
+ ;;
+
+ *)
+ echo "stop or start?"
+esac