From f4d9aadefa04e2666c0cc8e27d248cf470d8b43b Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 4 Jul 2022 13:40:22 +0900 Subject: Default to imv for images --- aerc/.config/aerc/aerc.conf | 2 +- awesome/.config/awesome/rc.lua | 1 - ranger/.config/ranger/rifle.conf | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf index 8644774..ec435c6 100644 --- a/aerc/.config/aerc/aerc.conf +++ b/aerc/.config/aerc/aerc.conf @@ -167,7 +167,7 @@ address-book-cmd= subject,~^\[PATCH=awk -f /home/sea/.local/share/aerc/filters/hldiff text/html=/home/sea/.local/share/aerc/filters/html text/*=awk -f /home/sea/.local/share/aerc/filters/plaintext -image/*=display - +image/*=imv - application/pdf=zathura - [triggers] diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 44a017e..05a87e2 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -344,7 +344,6 @@ awful.screen.connect_for_each_screen(function (s) -- Each screen has its own tag table. awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s, awful.layout.suit.fair) - end -- Create a promptbox for each screen s.mypromptbox = awful.widget.prompt{prompt = " "} diff --git a/ranger/.config/ranger/rifle.conf b/ranger/.config/ranger/rifle.conf index 67a60e1..34efc4f 100644 --- a/ranger/.config/ranger/rifle.conf +++ b/ranger/.config/ranger/rifle.conf @@ -170,6 +170,7 @@ ext cbr, has mcomix, X, flag f = mcomix -- "$@" mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" mime ^image/svg, has display, X, flag f = display -- "$@" +mime ^image, has imv, X, flag f = imv "$@" mime ^image, has vimiv, X, flag f = vimiv "$@" mime ^image, has viewnior, X, flag f = viewnior "$@" mime ^image, has pqiv, X, flag f = pqiv -- "$@" -- cgit 1.4.1