From cdcb59b1672da816c36d8479997457ef08f61313 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 7 Oct 2025 12:46:31 +0200 Subject: [PATCH] feat(hyprland): manually start from hyprland Make hypridl and hyprpaper only be able to be manually start, like from hyprland for example. --- modules/linux/home-manager/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 1a0644b..94aa206 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -92,6 +92,9 @@ in { # Enable hyprpaper services.hyprpaper.enable = true; + # Disable it by default and have it started manually by hyprland + systemd.user.services.hyprpaper.Install.WantedBy = lib.mkForce []; + # Setup portal for hyprland xdg.portal = { enable = true; @@ -128,6 +131,8 @@ in { ]; }; }; + # Disable it by default and have it started manually by hyprland + systemd.user.services.hypridle.Install.WantedBy = lib.mkForce []; # Setup and enable hyprland wayland.windowManager.hyprland = { @@ -167,6 +172,8 @@ in { "wl-paste --type image --watch cliphist store" # Stores only image data "keepassxc" # Startup my password manager "systemctl --user start hyprpolkitagent" + "systemctl --user start hyprpaper" + "systemctl --user start hypridle" ]; monitor = [