-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
betterlockscreen: make dunst optional #231714
Conversation
When dunst is detected *and* awesomeWM is used (its internal notification system to be exact) then betterlockscreen waits for dunst to reply on the DBus. Due to dunstctl being in PATH through the wrapper, dunst will always be tried to reach. None of the workarounds mentioned in the awesome and betterlockscreen repos do not work with this version, as dunstctl is always called and has to time out first. In the current master of BLS there is a change that makes BLS check and env-var first, and would ignore any dunstctl in PATH. Once the new release happened this could still be used to reduce the closure size.
Result of 1 package built:
|
Result of 1 package built:
|
Result of 1 package built:
|
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.
Lgtm.
lgtm :) Feel free to merge |
If I find time, I will do a new release for Betterlockscreen soon but I'm also searching for a new maintainer as I'm fully switched to sway so I need to run a VM/install X-server to test. |
I will probably not stay with BLS for long either. I have found quicker solutions für blurring but I can't find a way to tell BLS to just use the image unchanged. So I will probably end up implementing my own little wrapper for i3lock in the long term. |
Description of changes
When
dunst
is detected and awesomeWM is used (its internal notification system to be exact)then b
etterlockscreen
waits for dunst to reply on the DBus. Due todunstctl
being in PATHthrough the wrapper,
dunst
will always be tried to reach.None of the workarounds mentioned in the awesome and betterlockscreen repos do not work with
this version, as dunstctl is always called and has to time out first.
In the current master of BLS there is a change that makes BLS check and env-var first, and
would ignore any dunstctl in PATH.
Once the new release happened this could still be used to reduce the closure size.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)