chore: remove wallpaperengine configuration and package files
This commit is contained in:
@@ -38,6 +38,5 @@ lib.optionalAttrs device.hasGui {
|
||||
./zed.nix
|
||||
./zen.nix
|
||||
./vial.nix
|
||||
./wallpaperengine.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
||||
pkgs.linux-wallpaperengine
|
||||
];
|
||||
}
|
||||
@@ -12,6 +12,6 @@
|
||||
./hyprmon.nix
|
||||
./hyprland.nix
|
||||
./hyprpaper.nix
|
||||
./wallpaperengine.nix
|
||||
# ./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"];
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user