hyprland: hyprpaper as a service
This commit is contained in:
parent
4243ba985c
commit
a7680ea4be
1 changed files with 7 additions and 4 deletions
|
@ -76,6 +76,13 @@ in
|
|||
|
||||
# Hyprpaper
|
||||
{
|
||||
systemd.user.services.hyprpaper = {
|
||||
script = "${lib.getExe pkgs.hyprpaper}";
|
||||
path = [ pkgs.hyprland ];
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [{
|
||||
xdg.configFile."hypr/hyprpaper.conf".text =
|
||||
let bgRosePine = "${inputs.backgrounds}/bg-rose-pine.webp";
|
||||
|
@ -85,10 +92,6 @@ in
|
|||
|
||||
splash = true
|
||||
'';
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [ "${lib.getExe pkgs.hyprpaper}" ];
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue