fix hyprlock. Huh
This commit is contained in:
parent
02116e64f5
commit
42db03dd4e
2 changed files with 6 additions and 2 deletions
|
@ -18,7 +18,11 @@ in {
|
|||
enable = true;
|
||||
package = cfg.package;
|
||||
|
||||
lockCmd = "${lib.getExe config.modules.desktop.hyprlock.package}";
|
||||
# the `date` command doesn't work if we just call hyprlock. Huh
|
||||
# workaround is telling hyprctl to dispatch to execute it
|
||||
# hacky, but i couldn't care less at the moment
|
||||
# TODO: change this when/if it gets patched
|
||||
lockCmd = "${config.modules.desktop.hyprland.package}/bin/hyprctl dispatch exec ${lib.getExe config.modules.desktop.hyprlock.package}";
|
||||
unlockCmd = "pkill -USR1 hyprlock";
|
||||
|
||||
listeners = let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue