summaryrefslogtreecommitdiff
path: root/retardX11.sh
blob: 3be0261dce49a8bb63c481e03626f53ec3502846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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