-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
start: init start-hyprland and safe mode #12484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
can be disabled, right? |
No |
|
you can now |
|
honestly, I think you should be able to disable the warning, as some people might prefer to run hyprland without a watchdog (for whatever reason) i suggest replacing the warning (if disabled) with a big post-crash message on stdout/stderr, telling the user to try safe mode using a cli flag, e.g. edit: whoops, missed you implementing that |
|
I was thinking of adding an --x11 option for the lols but decided not to |
|
Is there any possibility of having the wrapper start and stop a systemd target so we can launch stuff with graphical-session.target without uwsm |
|
uhhh probably but why? its not meant for that |
i guess its not meant for that but its great QOL which could help move people off of uwsm (as its no longer supported). the main reason i was using uwsm in the first place was because it would start graphical-session.target for me, allowing me to run systemd services as hyprland starts (hyprpaper, hyprsunset, hypridle, etc) our bundled systemd services on those projects already start with graphical-session.target but this target is never triggered automatically for me (nixos, logging in through tty or tuigreet / greetd) Instead I just manually write a hyprland-session.target file, and wrapped hyprland to run |
This MR adds
start-hyprland, a watchdog wrapper, and safe mode.When launched with
start-hyprland, if hyprland crashes after fully initializing (not a "gpu unsupported" type crash) watchdog will restart it in safe mode.A warning notif will be sent if you are not launching via start-hyprland.
Safe mode:
Needs: