1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-23 10:19:48 +01:00

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:
Robin Stumm 2019-12-01 15:50:30 +01:00 committed by Robert Helgesson
parent 7c2532d9f9
commit fdd65e5fad
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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";
};