mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
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:
parent
4dd5496bd4
commit
91b2021782
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user