]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blob - roles/tools/files/ssh/rc
Add pavucontrol and ssh
[perso/Immae/Config/Ansible.git] / roles / tools / files / ssh / rc
1 #!/bin/bash
2
3 if [ -n "$DISPLAY" ]; then
4 export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
5 read protocol cookie
6 xauth remove $DISPLAY
7 xauth add $DISPLAY "$protocol" "$cookie"
8 fi