From e5b0daf23c7938beacd7bb41450b8af8ad9efdb4 Mon Sep 17 00:00:00 2001 From: Sergey Nazaryev Date: Wed, 11 Aug 2021 11:45:36 +0300 Subject: bash_open: run all viewers in background --- bash_open | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bash_open b/bash_open index 603d82f..7ad0591 100644 --- a/bash_open +++ b/bash_open @@ -5,15 +5,15 @@ open_func() { case "$major/$minor" in text/html) - firefox "$file";; + firefox "$file" &;; application/pdf) - zathura "$file";; + zathura "$file" &;; image/*) - feh "$file";; + feh "$file" &;; text/*) - xterm -e vim "$file";; + xterm -e vim "$file" &;; video/*) - mplayer "$file";; + mpv "$file" &;; *) /usr/bin/xdg-open "$file";; esac -- cgit v1.1