diff --git a/build_files/02_hyprland.sh b/build_files/02_hyprland.sh index 22eedb7..4bf875a 100755 --- a/build_files/02_hyprland.sh +++ b/build_files/02_hyprland.sh @@ -12,3 +12,5 @@ dnf5 install -y \ pavucontrol \ cliphist + +echo 'if [[ $(ps aux | grep hyprland | wc -l) -eq 1 ]]; then cd $HOME && echo "launch hyprland?" && read && hyprland ; fi' >> /etc/profile.d/launch_hyprland.sh diff --git a/build_files/03_post_desktop.sh b/build_files/03_post_desktop.sh index 33f1e31..113db2f 100755 --- a/build_files/03_post_desktop.sh +++ b/build_files/03_post_desktop.sh @@ -49,4 +49,3 @@ dnf5 clean all cp /ctx/login /etc/pam.d -echo 'if [[ $(ps aux | grep hyprland | wc -l) -eq 1 ]]; then cd $HOME && echo "launch hyprland?" && read && hyprland ; else echo "hyprland already running"; fi' >> /etc/profile.d/launch_hyprland.sh