1
0
Fork 0
forked from ahurac/dotfiles

Réécriture de mon scrpit de lancement de session VNC

This commit is contained in:
Hippolyte Chauvin 2023-10-22 00:11:38 +02:00
parent 7fb3eff9dc
commit 41ec79337b

View file

@ -1,10 +1,10 @@
#!/bin/sh
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
fi
cd
eval "$(ssh-agent)"
dbus-launch --exit-with-session xfwm4 &
xfwm4 &
artix-pipewire-launcher &
disown %2
st
wait
ssh-agent -k