-
-
Notifications
You must be signed in to change notification settings - Fork 16
fix: adapt Sleex to work on runit systems (for Kira Linux) #140
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| hl.on("hyprland.start", function () | ||
| -- Bar, wallpaper | ||
| -- hl.dsp.exec_cmd("swww-daemon") | ||
| hl.exec_cmd("qs -p /usr/share/sleex &") | ||
| hl.exec_cmd("QT_QPA_PLATFORM=wayland qs -p /usr/share/sleex &") | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this necessary ? This env var is already defined in envs.lua
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I digged into that : |
||
|
|
||
| -- Core components (authentication, lock screen, notification daemon) | ||
| hl.exec_cmd("dbus-update-activation-environment --all") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the listener if no systemd ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically, the equivalent would be backgrounding the same dbus-monitor-based loop the systemd unit runs, but that needs a D-Bus system-bus monitor policy (BecomeMonitor/eavesdrop permission) that not every non-systemd distro ships by default.
And since it actually works right now via direct triggers (idle timeout, manual lock keybind), i don't really want to dig into creating a fallback x)