18 lines
285 B
Bash
Executable file
18 lines
285 B
Bash
Executable file
#!/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"
|
|
|
|
# Execution
|
|
exec /usr/bin/Hyprland "$@"
|