about summary refs log tree commit diff
path: root/pkgs/applications/graphics/feh
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2014-06-07 14:51:50 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-06-07 15:18:09 +0200
commit91b2021782a0b956163db9b051758a12d1d632ae (patch)
tree7d1b4b51f583e2e52cd8628d4eeca802150fca1c /pkgs/applications/graphics/feh
parent4dd5496bd427f29cffc295ad00ba47476cba303c (diff)
downloadnixlib-91b2021782a0b956163db9b051758a12d1d632ae.tar
nixlib-91b2021782a0b956163db9b051758a12d1d632ae.tar.gz
nixlib-91b2021782a0b956163db9b051758a12d1d632ae.tar.bz2
nixlib-91b2021782a0b956163db9b051758a12d1d632ae.tar.lz
nixlib-91b2021782a0b956163db9b051758a12d1d632ae.tar.xz
nixlib-91b2021782a0b956163db9b051758a12d1d632ae.tar.zst
nixlib-91b2021782a0b956163db9b051758a12d1d632ae.zip
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'.
Diffstat (limited to 'pkgs/applications/graphics/feh')
-rw-r--r--pkgs/applications/graphics/feh/default.nix3
1 files changed, 2 insertions, 1 deletions
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 = {