1
0
Fork 0
forked from ahurac/dotfiles

Correction du script xstartup

This commit is contained in:
Hippolyte Chauvin 2023-10-24 11:45:10 +02:00
parent 95d906477b
commit aabf9d2c81

View file

@ -1,13 +1,14 @@
#!/bin/sh -xe #!/bin/sh -xe
self="$(readlink -f "$0")"
cd cd
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-launch --exit-with-session ssh-agent "$0" "$@" exec dbus-launch --exit-with-session "$self" "$@"
fi fi
if [ -z "$SSH_AGENT_PID" ]; then if [ -z "$SSH_AGENT_PID" ]; then
exec ssh-agent "$0" "$@" exec ssh-agent "$self" "$@"
fi fi
xfwm4 & xfwm4 &