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
|
||||
|
|
|
@ -42,7 +42,7 @@ in {
|
|||
position = { x = 0; y = 30; };
|
||||
}
|
||||
{
|
||||
text = "cmd[update:1000] echo \"$(date + '%A %B %e')\"";
|
||||
text = "cmd[update:1000] echo \"$(date +'%A %B %e')\"";
|
||||
font_size = 14;
|
||||
color = "rgb(${base05})";
|
||||
font_family = config.modules.desktop.fonts.fonts.sansSerif.family;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue