This commit is contained in:
kenryuS committed 2026-05-21 20:37:54 +09:00
1 parent 8efe0b9341
commit df41182acd
20 files changed
+152 -57

No files matched your search

+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
];
}