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
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

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