actually fix locking and idle, fr this time
This commit is contained in:
parent
085d68b27d
commit
2aa9e86a5d
2 changed files with 13 additions and 10 deletions
|
@ -15,17 +15,16 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
security.pam.services.hyprlock.text = "auth include login";
|
||||
powerManagement.resumeCommands = ''
|
||||
${pkgs.procps}/bin/pidof hyprlock || ${lib.getExe cfg.package}
|
||||
'';
|
||||
hm.programs.hyprlock = with config.colorScheme.palette; {
|
||||
enable = true;
|
||||
package = cfg.package;
|
||||
|
||||
general = {
|
||||
hide_cursor = false;
|
||||
no_fade_in = true;
|
||||
no_fade_out = true;
|
||||
};
|
||||
|
||||
backgrounds = [
|
||||
{
|
||||
path = toString ../../assets/lockscreen.png;
|
||||
|
@ -33,6 +32,7 @@ in {
|
|||
blur_size = 6;
|
||||
}
|
||||
];
|
||||
|
||||
labels = [
|
||||
{
|
||||
text = "cmd[update:1000] echo \"$(date +'%H:%M')\"";
|
||||
|
@ -49,6 +49,7 @@ in {
|
|||
position = { x = 0; y = 10; };
|
||||
}
|
||||
];
|
||||
|
||||
input-fields = [
|
||||
{
|
||||
size = { width = 300; height = 28; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue