refactor(hyprland): use getExe

This commit is contained in:
Moritz Böhme 2023-05-08 13:03:20 +02:00
parent 82fa90d842
commit d3f0fe0539
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
2 changed files with 4 additions and 3 deletions

View file

@ -88,11 +88,11 @@ in
events = [
{
event = "before-sleep";
command = "${pkgs.swaylock}/bin/swaylock -fF";
command = "${getExe pkgs.swaylock} -fF";
}
{
event = "lock";
command = "${pkgs.swaylock}/bin/swaylock -fF";
command = "${getExe pkgs.swaylock} -fF";
}
];
timeouts = [
@ -132,7 +132,7 @@ in
wantedBy = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = "${pkgs.hyprpaper}/bin/hyprpaper -c ${config}";
ExecStart = "${getExe pkgs.hyprpaper} -c ${config}";
RestartSec = "1s";
Restart = "on-failure";
};

View file

@ -94,3 +94,4 @@ in
};
};
}