mirror of
https://github.com/nix-community/home-manager
synced 2025-01-11 03:29:50 +01:00
hyprpaper: use config.wayland.systemd.target
This commit is contained in:
parent
8f48fea0f8
commit
da12f0b143
1 changed files with 3 additions and 3 deletions
|
@ -68,13 +68,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.hyprpaper = {
|
systemd.user.services.hyprpaper = {
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ config.wayland.systemd.target ]; };
|
||||||
|
|
||||||
Unit = {
|
Unit = {
|
||||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||||
Description = "hyprpaper";
|
Description = "hyprpaper";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ config.wayland.systemd.target ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ config.wayland.systemd.target ];
|
||||||
X-Restart-Triggers = mkIf (cfg.settings != { })
|
X-Restart-Triggers = mkIf (cfg.settings != { })
|
||||||
[ "${config.xdg.configFile."hypr/hyprpaper.conf".source}" ];
|
[ "${config.xdg.configFile."hypr/hyprpaper.conf".source}" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue