hyprshade: fix systemd user service
This commit is contained in:
parent
97390e1d60
commit
21ac8f8cd8
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
, hatchling
|
||||
, more-itertools
|
||||
, click
|
||||
, hyprland
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,12 +22,15 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ more-itertools click ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/hyprshade --set HYPRSHADE_SHADERS_DIR $out/share/hyprshade/shaders
|
||||
wrapProgram $out/bin/hyprshade \
|
||||
--set HYPRSHADE_SHADERS_DIR $out/share/hyprshade/shaders \
|
||||
--prefix PATH : ${lib.makeBinPath [ hyprland ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue