mirror of
https://github.com/outbackdingo/hyprcosmic-session.git
synced 2026-08-25 14:53:23 +00:00
/usr/bin/start-hyprcosmic gained this during the blank-screen debugging and the versioned copy never did, so the next install from this repository would have silently removed it. Found by diffing the two while writing an installer; the installer's --check exists so that the next one is not found by hunch. What it does, unchanged from the copy that has been running: redirect the session's own output to ~/.cache/hyprcosmic/session.log. A session that fails drops you at the greeter taking its stderr with it, and by then the journal cannot be read from inside a session that no longer exists. A plain redirect rather than tee into a process substitution -- tee would be a child the session writes through, so its death would deliver SIGPIPE, and nothing about diagnostics should be able to kill the desktop. Every step is guarded, so a failure here starts the session with no log rather than refusing to log in. The previous log is kept as .1 so a second attempt does not erase the evidence from the first.