update
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user