feat: Change wallpapers
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
2026-02-06 12:46:33 +05:30
parent 618e5593e7
commit 91d6863d60
2 changed files with 28 additions and 28 deletions

View File

@@ -7,8 +7,8 @@
services.hyprpaper = let services.hyprpaper = let
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;}; wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name; nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg"; # silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
silksongShadeLord = nextcloudWallpapers "silksong-shadelord.jpg"; bocchiVertical = nextcloudWallpapers "bocchi-vertical.jpg";
in { in {
enable = device.is "ryu"; enable = device.is "ryu";
settings = { settings = {
@@ -16,7 +16,7 @@
wallpaper = [ wallpaper = [
{ {
monitor = device.monitors.primary; monitor = device.monitors.primary;
path = silksongShadeLord; path = wallpapers.skull;
fit_mode = "cover"; fit_mode = "cover";
} }
{ {
@@ -26,7 +26,7 @@
} }
{ {
monitor = device.monitors.tertiary; monitor = device.monitors.tertiary;
path = silksongFleas; path = bocchiVertical;
fit_mode = "cover"; fit_mode = "cover";
} }
]; ];

View File

@@ -5,28 +5,28 @@
... ...
}: }:
lib.mkIf (device.is "ryu") { lib.mkIf (device.is "ryu") {
# systemd.user.services.wallpaperengine = { systemd.user.services.wallpaperengine = {
# Unit = { Unit = {
# Description = "Linux Wallpaper Engine"; Description = "Linux Wallpaper Engine";
# After = ["hyprland-session.target"]; After = ["hyprland-session.target"];
# Wants = ["hyprland-session.target"]; Wants = ["hyprland-session.target"];
# PartOf = ["hyprland-session.target"]; PartOf = ["hyprland-session.target"];
# }; };
#
# Service = { Service = {
# Environment = [ Environment = [
# "XDG_SESSION_TYPE=wayland" "XDG_SESSION_TYPE=wayland"
# ]; ];
# Type = "simple"; Type = "simple";
# ExecStartPre = "${pkgs.coreutils}/bin/sleep 3"; 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"; 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"; Restart = "on-failure";
# RestartSec = 5; RestartSec = 5;
# TimeoutStartSec = 30; TimeoutStartSec = 30;
# }; };
#
# Install = { Install = {
# WantedBy = ["hyprland-session.target"]; WantedBy = ["hyprland-session.target"];
# }; };
# }; };
} }