sway: hotfix for swayidle, swaylock-bg missing in PATH

This commit is contained in:
teutat3s 2021-11-29 14:50:46 +01:00
parent 269aff703d
commit 0ac864d8a0
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -9,7 +9,7 @@ pkgs:
};
Service = {
Type = "simple";
Environment = "PATH=${pkgs.bash}/bin:${pkgs.sway}/bin:${pkgs.swaylock}/bin";
Environment = "PATH=/run/current-system/sw/bin:${pkgs.sway}/bin:${pkgs.swaylock}/bin:${pkgs.swaylock-bg}/bin";
ExecStart = ''${pkgs.swayidle}/bin/swayidle -w \
timeout 600 'swaylock-bg' \
timeout 900 'swaymsg "output * dpms off"' \