feh: add themes option (#6074)

- added themes option
- added themes test
- updated broken man page links
This commit is contained in:
gmvar 2024-11-14 09:16:21 -08:00 committed by GitHub
parent 35b055009a
commit 1d0862ee2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 78 additions and 2 deletions

View file

@ -0,0 +1,32 @@
{ pkgs, ... }:
{
config = {
programs.feh.enable = true;
programs.feh.themes = {
feh = [ "--image-bg" "black" ];
webcam = [ "--multiwindow" "--reload" "20" ];
present = [ "--full-screen" "--sort" "name" "--hide-pointer" ];
booth = [ "--full-screen" "--hide-pointer" "--slideshow-delay" "20" ];
imagemap = [
"-rVq"
"--thumb-width"
"40"
"--thumb-height"
"30"
"--index-info"
"%n\\n%wx%h"
];
example = [ "--info" "foo bar" ];
};
test.stubs.feh = { };
nmt.script = ''
assertFileContent \
home-files/.config/feh/themes \
${./feh-themes-expected}
'';
};
}