From e0f2eb724245e02cb247b644f0947261d8665318 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 17 Jun 2025 21:57:53 -0400 Subject: remove nix dir and move out all sub modules --- programs/zsh/zprofile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 programs/zsh/zprofile (limited to 'programs/zsh/zprofile') diff --git a/programs/zsh/zprofile b/programs/zsh/zprofile new file mode 100644 index 0000000..4815b36 --- /dev/null +++ b/programs/zsh/zprofile @@ -0,0 +1,11 @@ +# dont attempt to launch a graphical +# env in tmux +if [ -n "$TMUX" ]; then + return +fi + +# only launch hyprland on tty 1 +if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + export XDG_CURRENT_DESKTOP=Hyprland + exec dbus-run-session Hyprland +fi -- cgit v1.2.3-freya