https://github.com/itsshamed/sddm-babysitter
A daemon to babysit SDDM that will cry if its helper dies
https://github.com/itsshamed/sddm-babysitter
Last synced: 8 months ago
JSON representation
A daemon to babysit SDDM that will cry if its helper dies
- Host: GitHub
- URL: https://github.com/itsshamed/sddm-babysitter
- Owner: ItsShamed
- License: mit
- Created: 2025-07-09T00:42:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-13T17:14:12.000Z (11 months ago)
- Last Synced: 2025-08-04T06:21:41.159Z (10 months ago)
- Language: Rust
- Size: 34.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDDM Babysitter
This is a daemon to watch for the SDDM helper and work around issue
[sddm/sddm#1908] while the maintainers are slacking their asses off.
[sddm/sddm#1908]: https://github.com/sddm/sddm/issues/1908
## How it works
The daemon basically watches for the `sddm-helper` process (if any), and waits
on it. If it exits tragically (non-zero return code), it will try to kill the
X11 process attached to SDDM, to make it act a little bit instead of stalling
around and crying like a little baby "waah! waah! my helper died non-zero code
I can't do anything! waaaaaah!!".
## Was Rust really necessary for this? It's only 90 LOC……
No, but it's funsises, and I'm a little バカ and too lazy to do proper C stuff.
> [!WARNING]
> I absolutely have no fucking idea of what I am doing. In its current state,
> it works, but it's probably prone to a lot of logic bugs