]> gitweb.pimeys.fr Git - scripts-20-100.git/blob - xauth-read.sh
[bde] Bye inscriptions.sh, so 2012. adhesions.sh is the new sexy.
[scripts-20-100.git] / xauth-read.sh
1 #!/bin/bash
2
3 # Pour lire les variables pour pouvoir afficher un truc à distance
4
5 export XAUTHORITY=$(cat /tmp/${USER}_xauthority)
6 export DISPLAY=$(cat /tmp/${USER}_display)
7
8 echo $DISPLAY