dotfiles/bin/Hyprland

17 lines
279 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
export XDG_CONFIG_HOME="${HOME}/.config"
# Execution
exec /usr/bin/Hyprland "$@"