mirror of
https://github.com/fscotto/infra.git
synced 2026-07-29 16:20:01 +00:00
25 lines
611 B
Django/Jinja
25 lines
611 B
Django/Jinja
#!/bin/sh
|
|
|
|
[ -r /etc/profile ] && . /etc/profile
|
|
[ -r "$HOME/.profile" ] && . "$HOME/.profile"
|
|
|
|
export XDG_CURRENT_DESKTOP=Hyprland
|
|
export XDG_SESSION_DESKTOP=Hyprland
|
|
export XDG_SESSION_TYPE=wayland
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export QT_QPA_PLATFORM='wayland;xcb'
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
export SDL_VIDEODRIVER=wayland
|
|
export GDK_BACKEND='wayland,x11'
|
|
|
|
export SSH_AUTH_SOCK="$HOME/.local/state/ssh-agent/socket"
|
|
|
|
[ -r "$HOME/.config/hypr/session-env" ] && . "$HOME/.config/hypr/session-env"
|
|
|
|
if command -v dbus-run-session >/dev/null 2>&1; then
|
|
exec dbus-run-session Hyprland
|
|
fi
|
|
|
|
exec Hyprland
|