From 91b2021782a0b956163db9b051758a12d1d632ae Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sat, 7 Jun 2014 14:51:50 +0200 Subject: [PATCH] feh: Set the default theme explicitly to 'feh' feh uses argv[0] to set the default theme, because feh is wrapped this will be .feh-wrapper. This makes it hard to use the configuration on multiple systems and can be confusion. Therefore the theme is explicity set to 'feh'. --- pkgs/applications/graphics/feh/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix index 47a528175490..b05946b4f824 100644 --- a/pkgs/applications/graphics/feh/default.nix +++ b/pkgs/applications/graphics/feh/default.nix @@ -16,7 +16,8 @@ stdenv.mkDerivation rec { ''; postInstall = '' - wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg}/bin" + wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg}/bin" \ + --add-flags '--theme=feh' ''; meta = {