1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/bin/Hyprland
2023-10-24 11:24:43 +02:00

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 "$@"