1
0
mirror of https://github.com/alrayyes/server-dotfiles synced 2023-11-14 15:56:25 +00:00

added more shortcuts & gif support

This commit is contained in:
Ryan 2017-05-29 17:13:08 +02:00
parent 111924614f
commit f21a484e59
2 changed files with 13 additions and 1 deletions

View File

@ -30,7 +30,7 @@ set viewmode miller
set column_ratios 1,3,4
# Which files should be hidden? (regular expression)
set hidden_filter ^\.(?:pyc|pyo|bak|swp|bundle|cache)$|^lost\+found$|^__(py)?cache__$
set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp|bundle|cache)$|^lost\+found$|^__(py)?cache__$
# Show hidden files? You can toggle this by typing 'zh'
set show_hidden false
@ -616,10 +616,19 @@ map gd cd ~/Documents
map td tab_new ~/Documents
map md shell mv %s ~/Documents
map Yd shell cp %s ~/Documents
map gD cd ~/Downloads
map tD tab_new ~/Downloads
map mD shell mv %s ~/Downloads
map YD shell cp %s ~/Downloads
map gww cd ~/Pictures/wallpaper
map tww tab_new ~/Pictures/wallpaper
map mww shell mv %s ~/Pictures/wallpaper
map Yww shell cp %s ~/Pictures/wallpaper
map gp cd ~/Pictures
map tp tab_new ~/Pictures
map mpa shell mv %s ~/Pictures
map Yp shell cp %s ~/Pictures
# Images
map bg shell cp %f ~/.config/wall.png && feh --bg-scale %f

View File

@ -168,6 +168,9 @@ ext djvu, has atril, X, flag f = atril -- "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
mime ^image/gif, has mpv, X, flag f = mpv --loop -- "$@"
mime ^image/gif, has qutebrowser, X, flag f = qutebrowser -- "$@"
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"