vifm: some tweaks

This commit is contained in:
Hoang Nguyen 2021-04-03 22:15:33 +03:00
parent 340c74170a
commit c4906f8339
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
5 changed files with 6 additions and 4 deletions

View File

@ -33,7 +33,7 @@
- **Terminal**: [alacritty](https://github.com/alacritty/alacritty), [foot](https://codeberg.org/dnkl/foot)
- **File manager:** [ranger](https://github.com/ranger/ranger), [vifm](https://github.com/vifm/vifm), [nnn](https://github.com/jarun/nnn)
- **Web browser:** [qutebrowser](https://github.com/qutebrowser/qutebrowser)
- **Image viewer:** [feh](https://github.com/derf/feh), [imv](https://github.com/eXeC64/imv) / [pqiv](https://github.com/phillipberndt/pqiv)
- **Image viewer:** [feh](https://github.com/derf/feh), [imv](https://github.com/eXeC64/imv) / [pqiv](https://github.com/phillipberndt/pqiv) / [qimgv](https://github.com/easymodo/qimgv)
- **Wayland wallpaper setter:** [swaybg](https://github.com/swaywm/swaybg) / [oguri](https://github.com/vilhalmer/oguri) / [mpvpaper](https://github.com/GhostNaN/mpvpaper)
- **Video player:** [mpv](https://github.com/mpv-player/mpv)
- **Book viewer:** [zathura](https://git.pwmt.org/pwmt/zathura.git)

View File

@ -107,7 +107,7 @@ then
export USE_SCOPE=1
export NNN_COLORS='2345'
export NNN_FCOLORS='c1e20402006006f7c6d6ab01'
export NNN_BMS="h:~;C:~/Code;D:~/Downloads;P:~/Pictures;V:~/Videos;A:~/Media;U:~/Music;f:~/.config;l:~/.local/share;e:/etc;u:/usr/share;o:/opt;b:/boot;m:/media;M:/mnt;i:/run/media/$USER;v:/var;t:/tmp;d:/dev;s:/srv;r:/;k:/bedrock/strata"
export NNN_BMS="h:~;C:~/Code;D:~/Downloads;P:~/Pictures;V:~/Videos;A:~/Media;U:~/Music;f:~/.config;l:~/.local/share;e:/etc;u:/usr/share;o:/opt;b:/boot;m:/media;M:/mnt;i:/run/media/$USER;v:/var;t:/tmp;d:/dev;s:/srv;r:/"
export NNN_SSHFS="sshfs -o reconnect,idmap=user,follow_symlinks"
fi
# lf

View File

@ -110,7 +110,7 @@ if command -v nnn >/dev/null
set -gx USE_SCOPE 1
set -gx NNN_FCOLORS 'c1e20402006006f7c6d6ab01'
set -gx NNN_COLORS '2345'
set -gx NNN_BMS "h:~;C:~/Code;D:~/Downloads;P:~/Pictures;V:~/Videos;A:~/Media;U:~/Music;f:~/.config;l:~/.local/share;e:/etc;u:/usr/share;o:/opt;b:/boot;m:/media;M:/mnt;i:/run/media/$USER;v:/var;t:/tmp;d:/dev;s:/srv;r:/;k:/bedrock/strata"
set -gx NNN_BMS "h:~;C:~/Code;D:~/Downloads;P:~/Pictures;V:~/Videos;A:~/Media;U:~/Music;f:~/.config;l:~/.local/share;e:/etc;u:/usr/share;o:/opt;b:/boot;m:/media;M:/mnt;i:/run/media/$USER;v:/var;t:/tmp;d:/dev;s:/srv;r:/"
set -gx NNN_SSHFS "sshfs -o reconnect,idmap=user,follow_symlinks"
end
# lf

View File

@ -216,6 +216,7 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
" Web
filextype *.html,*.htm,*.xhtml
\ qutebrowser %f &,
\ firefox --new-tab %f &,
filetype *.html,*.htm,*.xhtml lynx %f
" Object
@ -226,6 +227,7 @@ filetype *.[1-8] man ./%c
" Images
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ qimgv %f 2>/dev/null &,
\ pqiv %f &,
\ imv %f &,
\ feh %f &

View File

@ -92,7 +92,7 @@ then
export USE_SCOPE=1
export NNN_COLORS='2345'
export NNN_FCOLORS='c1e20402006006f7c6d6ab01'
export NNN_BMS="h:~;C:~/Code;D:~/Downloads;P:~/Pictures;V:~/Videos;A:~/Media;U:~/Music;f:~/.config;l:~/.local/share;e:/etc;u:/usr/share;o:/opt;b:/boot;m:/media;M:/mnt;i:/run/media/$USER;v:/var;t:/tmp;d:/dev;s:/srv;r:/;k:/bedrock/strata"
export NNN_BMS="h:~;C:~/Code;D:~/Downloads;P:~/Pictures;V:~/Videos;A:~/Media;U:~/Music;f:~/.config;l:~/.local/share;e:/etc;u:/usr/share;o:/opt;b:/boot;m:/media;M:/mnt;i:/run/media/$USER;v:/var;t:/tmp;d:/dev;s:/srv;r:/"
export NNN_SSHFS="sshfs -o reconnect,idmap=user,follow_symlinks"
fi
# lf