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'.
This commit is contained in:
Pascal Wittmann 2014-06-07 14:51:50 +02:00 committed by Bjørn Forsman
parent 4dd5496bd4
commit 91b2021782

View File

@ -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 = {