parcellite: remove obsolete backward compatibility fixes
This also fixes that the `gtk.theme` option was not picked up due to hardcoded XDG_DATA_DIRS.
This commit is contained in:
parent
7c2532d9f9
commit
fdd65e5fad
|
@ -33,12 +33,6 @@ in
|
|||
};
|
||||
|
||||
Service = {
|
||||
# PATH have been added in nixpkgs.parcellite, keeping it here for
|
||||
# backward compatibility. XDG_DATA_DIRS is necessary to make it pick up
|
||||
# icons correctly.
|
||||
Environment = ''
|
||||
PATH=${package}/bin:${pkgs.which}/bin:${pkgs.xdotool}/bin XDG_DATA_DIRS=${pkgs.hicolor_icon_theme}/share
|
||||
'';
|
||||
ExecStart = "${package}/bin/parcellite";
|
||||
Restart = "on-abort";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue