major springcleaning
This commit is contained in:
@ -54,38 +54,42 @@
|
||||
# Rarely installed browsers get higher priority; It is assumed that if you
|
||||
# install a rare browser, you probably use it. Firefox/konqueror/w3m on the
|
||||
# other hand are often only installed as fallback browsers.
|
||||
ext x?html?, has surf, X, flag f = surf -- file://"$1"
|
||||
ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
|
||||
ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"
|
||||
ext x?html?, has qutebrowser, X, flag f = qutebrowser -- "$@"
|
||||
ext x?html?, has dwb, X, flag f = dwb -- "$@"
|
||||
ext x?html?, has jumanji, X, flag f = jumanji -- "$@"
|
||||
ext x?html?, has luakit, X, flag f = luakit -- "$@"
|
||||
ext x?html?, has uzbl, X, flag f = uzbl -- "$@"
|
||||
ext x?html?, has uzbl-tabbed, X, flag f = uzbl-tabbed -- "$@"
|
||||
ext x?html?, has uzbl-browser, X, flag f = uzbl-browser -- "$@"
|
||||
ext x?html?, has uzbl-core, X, flag f = uzbl-core -- "$@"
|
||||
ext x?html?, has midori, X, flag f = midori -- "$@"
|
||||
ext x?html?, has chromium-browser, X, flag f = chromium-browser -- "$@"
|
||||
ext x?html?, has chromium, X, flag f = chromium -- "$@"
|
||||
ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@"
|
||||
ext x?html?, has opera, X, flag f = opera -- "$@"
|
||||
ext x?html?, has firefox, X, flag f = firefox -- "$@"
|
||||
ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@"
|
||||
ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@"
|
||||
ext x?html?, has epiphany, X, flag f = epiphany -- "$@"
|
||||
ext x?html?, has konqueror, X, flag f = konqueror -- "$@"
|
||||
ext x?html?, has elinks, terminal = elinks "$@"
|
||||
ext x?html?, has links2, terminal = links2 "$@"
|
||||
ext x?html?, has links, terminal = links "$@"
|
||||
ext x?html?, has lynx, terminal = lynx -- "$@"
|
||||
ext x?html?, has w3m, terminal = w3m "$@"
|
||||
# Commented out since i want to open htmls in EDITOR
|
||||
#ext x?html?, has surf, X, flag f = surf -- file://"$1"
|
||||
#ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
|
||||
#ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"
|
||||
#ext x?html?, has qutebrowser, X, flag f = qutebrowser -- "$@"
|
||||
#ext x?html?, has dwb, X, flag f = dwb -- "$@"
|
||||
#ext x?html?, has jumanji, X, flag f = jumanji -- "$@"
|
||||
#ext x?html?, has luakit, X, flag f = luakit -- "$@"
|
||||
#ext x?html?, has uzbl, X, flag f = uzbl -- "$@"
|
||||
#ext x?html?, has uzbl-tabbed, X, flag f = uzbl-tabbed -- "$@"
|
||||
#ext x?html?, has uzbl-browser, X, flag f = uzbl-browser -- "$@"
|
||||
#ext x?html?, has uzbl-core, X, flag f = uzbl-core -- "$@"
|
||||
#ext x?html?, has midori, X, flag f = midori -- "$@"
|
||||
#ext x?html?, has chromium-browser, X, flag f = chromium-browser -- "$@"
|
||||
#ext x?html?, has chromium, X, flag f = chromium -- "$@"
|
||||
#ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@"
|
||||
#ext x?html?, has opera, X, flag f = opera -- "$@"
|
||||
#ext x?html?, has firefox, X, flag f = firefox -- "$@"
|
||||
#ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@"
|
||||
#ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@"
|
||||
#ext x?html?, has epiphany, X, flag f = epiphany -- "$@"
|
||||
#ext x?html?, has konqueror, X, flag f = konqueror -- "$@"
|
||||
#ext x?html?, has elinks, terminal = elinks "$@"
|
||||
#ext x?html?, has links2, terminal = links2 "$@"
|
||||
#ext x?html?, has links, terminal = links "$@"
|
||||
#ext x?html?, has lynx, terminal = lynx -- "$@"
|
||||
#ext x?html?, has w3m, terminal = w3m "$@"
|
||||
|
||||
#-------------------------------------------
|
||||
# Misc
|
||||
#-------------------------------------------
|
||||
#Import calendar files into calcurse
|
||||
ext sc, has sc-im, X, flag t = sc-im -- "$@"
|
||||
mime text/calendar, has calcurse, flag f = calendaradd "$@"
|
||||
name ^.*\.bands\.agr$, has xmgrace, X, flag f = xmgrace -- "$@"
|
||||
|
||||
|
||||
# Define the "editor" for text files as first action
|
||||
mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@"
|
||||
@ -93,6 +97,8 @@ mime ^text, label pager = "$PAGER" -- "$@"
|
||||
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@"
|
||||
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
||||
|
||||
ext rs = $EDITOR -- "$1"
|
||||
|
||||
ext 1 = man "$1"
|
||||
ext s[wmf]c, has zsnes, X = zsnes "$1"
|
||||
ext s[wmf]c, has snes9x-gtk,X = snes9x-gtk "$1"
|
||||
@ -155,6 +161,7 @@ ext pdf, has okular, X, flag f = okular -- "$@"
|
||||
ext pdf, has epdfview, X, flag f = epdfview -- "$@"
|
||||
ext pdf, has qpdfview, X, flag f = qpdfview "$@"
|
||||
ext pdf, has open, X, flag f = open "$@"
|
||||
mime application/pdf, has zathura, X, flag f = zathura -- "$@"
|
||||
|
||||
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
|
||||
|
||||
@ -172,14 +179,18 @@ ext djvu, has djview, X, flag f = djview -- "$@"
|
||||
ext epub|mobi|cbz, has zathura, X, flag f = zathura -- "$@"
|
||||
ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
|
||||
|
||||
mime application/x-bittorrent, has tremc, flag f = tremc -- "$@"
|
||||
#-------------------------------------------
|
||||
# Image Viewing:
|
||||
#-------------------------------------------
|
||||
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
|
||||
mime ^image/svg, has display, X, flag f = display -- "$@"
|
||||
mime ^image/x-xcf, has gimp, X, flag f = gimp -- "$@"
|
||||
|
||||
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
|
||||
mime ^image, has sxiv, X, flag f = sxiv -s f -- "$@"
|
||||
mime ^image, has nsxiv, nsxiv-rifle, X, flag f = nsxiv-rifle -- "$@"
|
||||
mime ^image, has nsxiv, X, flag f = nsxiv-rifle -- "$@"
|
||||
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
|
||||
mime ^image, has feh, X, flag f = feh -- "$@"
|
||||
mime ^image, has mirage, X, flag f = mirage -- "$@"
|
||||
mime ^image, has ristretto, X, flag f = ristretto "$@"
|
||||
@ -189,7 +200,6 @@ mime ^image, has nomacs, X, flag f = nomacs -- "$@"
|
||||
mime ^image, has geeqie, X, flag f = geeqie -- "$@"
|
||||
mime ^image, has gwenview, X, flag f = gwenview -- "$@"
|
||||
mime ^image, has gimp, X, flag f = gimp -- "$@"
|
||||
ext xcf, X, flag f = gimp -- "$@"
|
||||
|
||||
#-------------------------------------------
|
||||
# Archives
|
||||
|
Reference in New Issue
Block a user