This commit is contained in:
2026-05-21 20:37:54 +09:00
parent 8efe0b9341
commit df41182acd
20 changed files with 152 additions and 57 deletions
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }:
let
feh-wallpaper-getRandom = pkgs.writeShellApplication {
name = "feh-wallpaper-getRandom";
runtimeInputs = with pkgs; [
feh
];
text = ''
bgs=$MY_RICING_ASSETS_PATH/usr/local/share/wallpapers
feh --bg-fill --randomize "$bgs"/*
'';
};
in
pkgs.symlinkJoin {
name = "feh-wallpaper";
paths = [
feh-wallpaper-getRandom
];
}