From 605bdca2709b65b14cb4cf3ea96bf72a4a4769b4 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 27 Mar 2021 02:23:54 +0300 Subject: feat(vifm): use i3-swallow to open file from vifm --- .vifm/vifmrc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3