mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 20:29:47 +01:00
33 lines
700 B
Nix
33 lines
700 B
Nix
|
{ 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}
|
||
|
'';
|
||
|
};
|
||
|
}
|