Skip to content

Commit

Permalink
feh: Set the default theme explicitly to 'feh'
Browse files Browse the repository at this point in the history
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'.
  • Loading branch information
pSub authored and bjornfor committed Jun 7, 2014
1 parent 4dd5496 commit 91b2021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/feh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 91b2021

Please sign in to comment.