41 lines
986 B
Nix
41 lines
986 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
systemd.user.services = {
|
|
awww = {
|
|
Unit = {
|
|
Description = "An Answer to your Wayland Wallpaper Woes";
|
|
Documentation = "man:awww-daemon(1)";
|
|
PartOf = [
|
|
"graphical-session.target"
|
|
];
|
|
After = [
|
|
"graphical-session.target"
|
|
"wayland-session@hyprland.desktop.target"
|
|
];
|
|
Requisite = [
|
|
"graphical-session.target"
|
|
"wayland-session@hyprland.desktop.target"
|
|
];
|
|
WantedBy = [
|
|
"graphical-session.target"
|
|
"wayland-session@hyprland.desktop.target"
|
|
];
|
|
};
|
|
Service = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.awww}/bin/awww-daemon";
|
|
Restart = "on-failure";
|
|
RestartSec = "1";
|
|
Slice = "app-graphical.slice";
|
|
};
|
|
Install = {
|
|
WantedBy = [
|
|
"graphical-session.target"
|
|
"wayland-session@hyprland.desktop.target"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|