hand7s: migrate from ${pkgs}/bin/ paths to ${lib.getExe pkgs}
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
fc182636e3
commit
e897fb4e87
13 changed files with 86 additions and 86 deletions
|
|
@ -13,25 +13,25 @@
|
|||
|
||||
settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off";
|
||||
after_sleep_cmd = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on";
|
||||
before_sleep_cmd = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch dpms off";
|
||||
after_sleep_cmd = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch dpms on";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -s set 10";
|
||||
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -r";
|
||||
on-timeout = "${lib.getExe pkgs.brightnessctl} -s set 10";
|
||||
on-resume = "${lib.getExe pkgs.brightnessctl} -r";
|
||||
}
|
||||
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
on-timeout = "${lib.getExe pkgs.hyprlock}";
|
||||
}
|
||||
|
||||
{
|
||||
timeout = 900;
|
||||
on-timeout = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
on-timeout = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue