aboutsummaryrefslogtreecommitdiff
path: root/open-file
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xopen-file20
1 files changed, 10 insertions, 10 deletions
diff --git a/open-file b/open-file
index 055aad2..848fd9b 100755
--- a/open-file
+++ b/open-file
@@ -4,19 +4,19 @@
4# Launches files based on their mimetypes 4# Launches files based on their mimetypes
5# Use option -s devour to swallow or -s " " to open normally from terminal 5# Use option -s devour to swallow or -s " " to open normally from terminal
6# Use -t to specify mimetype 6# Use -t to specify mimetype
7# Requires: dmenu_path or similar (fallback) 7# Requires: dmenu_path or similar (fallback), dmenu-filepicker
8# dmenu-filepicker
9 8
10menu=${MENU:-dmenu} 9menu=${MENU:-dmenu}
11 10
12video=${VIDEOPLAYER:-mpv} 11# Change default apps here
13music=${MUSICPLAYER:-mpv} 12video="mpv"
14pdf=${VIEWER:-zathura} 13music="mpv --player-operation-mode=pseudo-gui"
15img=${IMAGEVIEWER:-imv} 14pdf="zathura"
16word=${TEXTDOCUMENT:-libreoffice} 15img="imv"
17sheet=${SPREADSHEET:-libreoffice} 16word="libreoffice"
18html=${HTMLVIEWER:-firefox} 17sheet="libreoffice"
19xedit=${XEDITOR:-gedit} 18html="firefox --new-window"
19xedit="xedit"
20 20
21openfile() { 21openfile() {
22 f="$@" 22 f="$@"

Generated with cgit - Back to sebastiano.tronto.net