From 54f1c40d61496be889e72db6f11fa41ea4cb3c30 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 10 Jun 2024 14:00:02 +0200 Subject: [PATCH] Run hyprland from profile (without wrapper script) --- home/programs/terminal/shell/zsh/rc/profile.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/programs/terminal/shell/zsh/rc/profile.zsh b/home/programs/terminal/shell/zsh/rc/profile.zsh index e13ea2b..de4a41f 100644 --- a/home/programs/terminal/shell/zsh/rc/profile.zsh +++ b/home/programs/terminal/shell/zsh/rc/profile.zsh @@ -12,7 +12,7 @@ fi # Start graphical session automatically on tty1 if Hyprland or startx is available if [ "$(tty)" = "/dev/tty1" ] && [ "$UID" != 0 ]; then if command -v Hyprland >/dev/null; then - ! pidof -s Hyprland >/dev/null 2>&1 && launch-hypr + ! pidof -s Hyprland >/dev/null 2>&1 && Hyprland elif command -v startx >/dev/null; then ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" fi