nixos/home/sam/common/optional/desktop/wallpaper-changer/swww-wallpaper-changer/default.nix

16 lines
306 B
Nix
Raw Normal View History

2024-05-11 20:55:27 +01:00
{ pkgs, ... }:
let
scripts = {
swww-wallpaper-changer = pkgs.writeShellApplication {
name = "swww-wallpaper-changer";
text = builtins.readFile ./swww-wallpaper-changer.sh;
};
};
in
{
home.packages = builtins.attrValues {
inherit (scripts)
swww-wallpaper-changer;
};
}