Skip to content

Commit

Permalink
fix(picom): replaced customer timer by nixos startAt option
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Jul 20, 2024
1 parent d93ce60 commit 06e8c29
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/desktop/submodules/picom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ with lib;
done
'';
postStop = "systemctl --user start picom.service";
startAt = "*-*-* *:*:00";

serviceConfig.ExecCondition = "${pkgs.toybox}/bin/pgrep --ignore-case steam";
};
timers.${guardName} = {
wantedBy = [ "${guardName}.service" ];
timerConfig.OnActiveSec = "1m";
};
};

services.picom = {
Expand Down

0 comments on commit 06e8c29

Please sign in to comment.