add swww
This commit is contained in:
parent
14a69d239b
commit
cc7096662e
2 changed files with 20 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
|
./swww.nix
|
||||||
./tlrc.nix
|
./tlrc.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
|
|
|
||||||
19
modules/home-manager/programs/swww.nix
Normal file
19
modules/home-manager/programs/swww.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [ pkgs.swww ];
|
||||||
|
|
||||||
|
systemd.user.services.swww = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Wayland wallpaper daemon";
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
After = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${pkgs.swww}/bin/swww-daemon";
|
||||||
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
|
|
||||||
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue