From a32e6b3ea99cbb16bbadf975e83e3a29732db450 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 11 Oct 2025 09:03:45 +0200 Subject: Make app choice more configurable --- open-file | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'open-file') diff --git a/open-file b/open-file index 8b23dcc..c985bf4 100755 --- a/open-file +++ b/open-file @@ -12,11 +12,11 @@ menu="dmenu -i -l 15" video=${VIDEO:-vlc} music=${MUSIC:-vlc} pdf=${PDF:-zathura} -img="nsxiv" -word="libreoffice" -sheet="libreoffice" -html="firefox --new-window" -xedit="xedit" +img="${IMGVIEW:-nsxiv}" +word="${WORDS:-libreoffice}" +sheet="${SHEETS:-libreoffice}" +html="${BROWSER:-firefox} --new-window" +xedit="${XEDIT:-xedit}" usage() { echo "Usage: open-file [-m MENU] [-s LAUNCHER] [-t MIMETYPE] [files...]" -- cgit v1.3