created viewer alias for feh to replace viewnior and changed settings of tuir/mailcap
This commit is contained in:
parent
eb6f2f4e75
commit
3d538fae6d
2 changed files with 11 additions and 5 deletions
|
|
@ -227,6 +227,7 @@ alias chromium="chromium --incognito --disable-search-engine-collection --finger
|
||||||
alias {firefox-developer-edition,firefox}="firefox-developer-edition"
|
alias {firefox-developer-edition,firefox}="firefox-developer-edition"
|
||||||
alias {sq,sql,sqlite}="sqlcipher"
|
alias {sq,sql,sqlite}="sqlcipher"
|
||||||
alias view="kitty +kitten icat"
|
alias view="kitty +kitten icat"
|
||||||
|
alias viewer="feh -F -Z -x"
|
||||||
alias mupdf='mupdf -r 204'
|
alias mupdf='mupdf -r 204'
|
||||||
alias dkpdf='mupdf -I -r 204'
|
alias dkpdf='mupdf -I -r 204'
|
||||||
alias {json,jscrl,jsoncurl,jcrl}="jscurl"
|
alias {json,jscrl,jsoncurl,jcrl}="jscurl"
|
||||||
|
|
|
||||||
15
tuir/mailcap
15
tuir/mailcap
|
|
@ -25,17 +25,22 @@
|
||||||
# Feh is a simple and effective image viewer
|
# Feh is a simple and effective image viewer
|
||||||
# Note that tuir returns a list of urls for imgur albums, so we don't put quotes
|
# Note that tuir returns a list of urls for imgur albums, so we don't put quotes
|
||||||
# around the `%s`
|
# around the `%s`
|
||||||
image/x-imgur-album; feh -g 640x480 -. %s; test=test -n "$DISPLAY"
|
# image/x-imgur-album; feh -g 640x480 -. %s; test=test -n "$DISPLAY"
|
||||||
image/gif; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY"
|
# image/gif; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY"
|
||||||
image/*; feh -g 640x480 -. '%s'; test=test -n "$DISPLAY"
|
# image/*; feh -g 640x480 -. '%s'; test=test -n "$DISPLAY"
|
||||||
|
#
|
||||||
|
# Custom Feh image viewer settings
|
||||||
|
image/x-imgur-album; feh -F -Z -x -. %s; test=test -n "$DISPLAY"
|
||||||
|
image/gif; mpv '%s' --fs --loop=inf; test=test -n "$DISPLAY"
|
||||||
|
image/*; feh -F -Z -x -. '%s'; test=test -n "$DISPLAY"
|
||||||
|
|
||||||
# Youtube videos are assigned a custom mime-type, which can be streamed with
|
# Youtube videos are assigned a custom mime-type, which can be streamed with
|
||||||
# vlc or youtube-dl.
|
# vlc or youtube-dl.
|
||||||
video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
|
#video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
|
||||||
video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit=640x480; test=test -n "$DISPLAY"
|
video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit=640x480; test=test -n "$DISPLAY"
|
||||||
|
|
||||||
# Mpv is a simple and effective video streamer
|
# Mpv is a simple and effective video streamer
|
||||||
video/*; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY"
|
video/*; mpv '%s' --fs --loop=inf; test=test -n "$DISPLAY"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Commands below this point will attempt to display media directly in the
|
# Commands below this point will attempt to display media directly in the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue