diff --git a/config/home-manager/programs/hypr/paper.nix b/config/home-manager/programs/hypr/paper.nix new file mode 100644 index 0000000..2a4c6e4 --- /dev/null +++ b/config/home-manager/programs/hypr/paper.nix @@ -0,0 +1,20 @@ +{ + lib, + config, + inputs, + pkgs, + ... +}: { + services.hyprpaper = { + enable = true; + package = inputs.hyprpaper.packages.${pkgs.system}.default; + + settings = { + preload = ["${config.local.style.wallpaper}"]; + wallpaper = [", ${config.local.style.wallpaper}"]; + }; + }; + + systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target"; + systemd.user.services.hyprpaper.Unit.Slice = "background-graphical.slice"; +} diff --git a/config/home-manager/programs/waybar/default.nix b/config/home-manager/programs/waybar/default.nix index 31a7ec1..d84656c 100644 --- a/config/home-manager/programs/waybar/default.nix +++ b/config/home-manager/programs/waybar/default.nix @@ -175,6 +175,12 @@ }; }; }; + + systemd.user.services.waybar = { + Unit.After = lib.mkForce "graphical-session.target"; + Service.Slice = "app-graphical.slice"; + }; + home.packages = [ pkgs.pavucontrol ];