diff options
author | Sergey Nazaryev <sergey@nazaryev.com> | 2021-08-11 11:45:36 +0300 |
---|---|---|
committer | Sergey Nazaryev <sergey@nazaryev.com> | 2021-08-11 11:45:36 +0300 |
commit | e5b0daf23c7938beacd7bb41450b8af8ad9efdb4 (patch) | |
tree | 2d68f9b01ce1fdc978ca58380c1814631fd8ce55 | |
parent | bc407a1c313c61e491a19e690f80e2a26f75100a (diff) | |
download | dotfiles-e5b0daf23c7938beacd7bb41450b8af8ad9efdb4.zip dotfiles-e5b0daf23c7938beacd7bb41450b8af8ad9efdb4.tar.gz dotfiles-e5b0daf23c7938beacd7bb41450b8af8ad9efdb4.tar.bz2 |
bash_open: run all viewers in background
-rw-r--r-- | bash_open | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |