dotfiles/bin/Hyprland

19 lines
285 B
Text
Raw Normal View History

2023-04-13 00:17:43 +02:00
#!/bin/sh -xe
# cd to home
cd
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-launch --exit-with-session "$0" "$@"
fi
if [ -z "$SSH_AGENT_PID" ]; then
exec ssh-agent "$0" "$@"
fi
# XDG
export XDG_CONFIG_HOME="${HOME}/.config"
2023-04-13 00:17:43 +02:00
# Execution
exec /usr/bin/Hyprland "$@"