nixos/pkgs/wallpaper-changer/default.nix

12 lines
260 B
Nix

# Uses swww to cycle through wallpapers in a random order.
# xpo [local port] [remote host] [remote port]
{
lib,
writeShellApplication,
swww,
}:
(writeShellApplication {
name = "wallpaper-changer";
text = builtins.readFile ./wallpaper-changer.sh;
})