1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/vnc/xstartup
2023-10-24 11:45:10 +02:00

17 lines
274 B
Bash
Executable file

#!/bin/sh -xe
self="$(readlink -f "$0")"
cd
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-launch --exit-with-session "$self" "$@"
fi
if [ -z "$SSH_AGENT_PID" ]; then
exec ssh-agent "$self" "$@"
fi
xfwm4 &
artix-pipewire-launcher restart &
alacritty
wait