From 209cbf4cbbc4539ff308b53a3b507be64459d36e Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Tue, 28 Oct 2025 22:23:59 +0530 Subject: [PATCH] chore: remove wallpaperengine configuration and package files --- home/apps/default.nix | 1 - home/apps/wallpaperengine.nix | 9 ------ home/services/default.nix | 2 +- home/services/wallpaperengine.nix | 48 +++++++++++++++---------------- 4 files changed, 25 insertions(+), 35 deletions(-) delete mode 100644 home/apps/wallpaperengine.nix diff --git a/home/apps/default.nix b/home/apps/default.nix index 941f4617..9b339393 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -38,6 +38,5 @@ lib.optionalAttrs device.hasGui { ./zed.nix ./zen.nix ./vial.nix - ./wallpaperengine.nix ]; } diff --git a/home/apps/wallpaperengine.nix b/home/apps/wallpaperengine.nix deleted file mode 100644 index b98a5a98..00000000 --- a/home/apps/wallpaperengine.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - pkgs, - lib, - ... -}: { - home.packages = lib.optionals pkgs.stdenv.isLinux [ - pkgs.linux-wallpaperengine - ]; -} diff --git a/home/services/default.nix b/home/services/default.nix index f22873fc..cad20c22 100644 --- a/home/services/default.nix +++ b/home/services/default.nix @@ -12,6 +12,6 @@ ./hyprmon.nix ./hyprland.nix ./hyprpaper.nix - ./wallpaperengine.nix + # ./wallpaperengine.nix ]; } diff --git a/home/services/wallpaperengine.nix b/home/services/wallpaperengine.nix index 6e3914cb..8b050fab 100644 --- a/home/services/wallpaperengine.nix +++ b/home/services/wallpaperengine.nix @@ -5,28 +5,28 @@ ... }: lib.mkIf (device.is "ryu") { - systemd.user.services.wallpaperengine = { - Unit = { - Description = "Linux Wallpaper Engine"; - After = ["hyprland-session.target"]; - Wants = ["hyprland-session.target"]; - PartOf = ["hyprland-session.target"]; - }; - - Service = { - Environment = [ - "XDG_SESSION_TYPE=wayland" - ]; - Type = "simple"; - ExecStartPre = "${pkgs.coreutils}/bin/sleep 3"; - ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine --silent --no-audio-processing -f 15 --scaling fill --screen-root HDMI-A-1 --bg 2780316434"; - Restart = "on-failure"; - RestartSec = 5; - TimeoutStartSec = 30; - }; - - Install = { - WantedBy = ["hyprland-session.target"]; - }; - }; + # systemd.user.services.wallpaperengine = { + # Unit = { + # Description = "Linux Wallpaper Engine"; + # After = ["hyprland-session.target"]; + # Wants = ["hyprland-session.target"]; + # PartOf = ["hyprland-session.target"]; + # }; + # + # Service = { + # Environment = [ + # "XDG_SESSION_TYPE=wayland" + # ]; + # Type = "simple"; + # ExecStartPre = "${pkgs.coreutils}/bin/sleep 3"; + # ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine --silent --no-audio-processing -f 15 --scaling fill --screen-root HDMI-A-1 --bg 2780316434"; + # Restart = "on-failure"; + # RestartSec = 5; + # TimeoutStartSec = 30; + # }; + # + # Install = { + # WantedBy = ["hyprland-session.target"]; + # }; + # }; }