hyprlock
This commit is contained in:
parent
86c8734c27
commit
b2a8045b2f
5 changed files with 76 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
home.packages = builtins.attrValues { inherit (pkgs) brillo; };
|
||||
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.wl-lockscreen}/bin/wl-lockscreen";
|
||||
command = "${config.programs.hyprlock.package}/bin/hyprlock";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "${pkgs.wl-lockscreen}/bin/wl-lockscreen";
|
||||
command = "${config.programs.hyprlock.package}/bin/hyprlock";
|
||||
}
|
||||
];
|
||||
timeouts = [
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
}
|
||||
{
|
||||
timeout = 120;
|
||||
command = "${pkgs.brillo}/bin/brillo -e -S 0; ${pkgs.wl-lockscreen}/bin/wl-lockscreen";
|
||||
command = "${pkgs.brillo}/bin/brillo -e -S 0; ${config.programs.hyprlock.package}/bin/hyprlock";
|
||||
resumeCommand = "${pkgs.brillo}/bin/brillo -e -S 100";
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue