aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-27 02:23:54 +0300
committereug-vs <eug-vs@keemail.me>2021-03-27 02:23:54 +0300
commit605bdca2709b65b14cb4cf3ea96bf72a4a4769b4 (patch)
tree060ac2088525a115936808935275d58500bfb81a
parent5346fb693fb8b9a9e97df6e09e0cba9024de9387 (diff)
downloaddotfiles-605bdca2709b65b14cb4cf3ea96bf72a4a4769b4.tar.gz
feat(vifm): use i3-swallow to open file from vifm
-rw-r--r--.vifm/vifmrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.vifm/vifmrc b/.vifm/vifmrc
index b205476..ede7b2a 100644
--- a/.vifm/vifmrc
+++ b/.vifm/vifmrc
@@ -143,6 +143,11 @@ command! vgrep vim "+grep %a"
command! reload :write | restart
command! w :!tmuxinator start -p=$HOME/.config/tmuxinator/.template.yml name=%c root=%d/%c
+" Swallows
+filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.webp swallow sxiv %f
+filextype *.mp4,*.webm swallow mpv %f
+filextype *.pdf swallow zathura %f
+
" ------------------------------------------------------------------------------
" The file type is for the default programs to be used with