diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-10-11 09:03:45 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-10-11 09:04:14 +0200 |
| commit | a32e6b3ea99cbb16bbadf975e83e3a29732db450 (patch) | |
| tree | f2d804e4bc5c567ae22eb3ff91c0aee6240da949 /open-file | |
| parent | 2874214003d88825f4949525902fc1e8f0cb1b12 (diff) | |
| download | scripts-a32e6b3ea99cbb16bbadf975e83e3a29732db450.tar.gz scripts-a32e6b3ea99cbb16bbadf975e83e3a29732db450.zip | |
Make app choice more configurable
Diffstat (limited to 'open-file')
| -rwxr-xr-x | open-file | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -12,11 +12,11 @@ menu="dmenu -i -l 15" | |||
| 12 | video=${VIDEO:-vlc} | 12 | video=${VIDEO:-vlc} |
| 13 | music=${MUSIC:-vlc} | 13 | music=${MUSIC:-vlc} |
| 14 | pdf=${PDF:-zathura} | 14 | pdf=${PDF:-zathura} |
| 15 | img="nsxiv" | 15 | img="${IMGVIEW:-nsxiv}" |
| 16 | word="libreoffice" | 16 | word="${WORDS:-libreoffice}" |
| 17 | sheet="libreoffice" | 17 | sheet="${SHEETS:-libreoffice}" |
| 18 | html="firefox --new-window" | 18 | html="${BROWSER:-firefox} --new-window" |
| 19 | xedit="xedit" | 19 | xedit="${XEDIT:-xedit}" |
| 20 | 20 | ||
| 21 | usage() { | 21 | usage() { |
| 22 | echo "Usage: open-file [-m MENU] [-s LAUNCHER] [-t MIMETYPE] [files...]" | 22 | echo "Usage: open-file [-m MENU] [-s LAUNCHER] [-t MIMETYPE] [files...]" |
