spacemacs: use sxiv instead of feh to view images

This commit is contained in:
Ingolf Wagner 2019-10-28 17:54:38 +01:00
parent 526bb144a1
commit e05426eca9
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -175,7 +175,7 @@ in
${ ${
let let
suffixes = ["jpg" "jpeg" "png"]; suffixes = ["jpg" "jpeg" "png"];
rule = suffix: ''("${pkgs.feh}/bin/feh --auto-rotate --auto-zoom" "\\.${suffix}$")''; rule = suffix: ''("${pkgs.sxiv}/bin/sxiv" "\\.${suffix}$")'';
in in
lib.concatStringsSep "\n " (builtins.map rule suffixes)} lib.concatStringsSep "\n " (builtins.map rule suffixes)}
) )