redshift: bash wrapper

This commit is contained in:
Zynh Ludwig 2024-07-24 01:57:08 -07:00
parent 4e41b079e4
commit c534fe8fc6

View file

@ -30,7 +30,7 @@ in
(map toPaths)
[ "lat" "lon" ];
in
"${pkgs.redshift}/bin/redshift -l ${fetchLatLon}";
''${pkgs.bash}/bin/bash -c "${pkgs.redshift}/bin/redshift -l ${fetchLatLon}"'';
};
Install = {
WantedBy = [ "graphical-session.target" ];