Browse Source

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

feat/hibernate-always
teutat3s 2 months ago
parent
commit
e84fb19a20
Signed by: teutat3s GPG Key ID: 4FA1D3FA524F22C1
  1. 2
      modules/sway/swayidle.service.nix

2
modules/sway/swayidle.service.nix

@ -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"' \

Loading…
Cancel
Save