summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/lf/lfrc9
-rw-r--r--.config/x11/xresources4
2 files changed, 9 insertions, 4 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 012506b..586ea71 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -40,14 +40,17 @@ cmd open ${{
cmd mkdir $mkdir -p "$(gecho $* | tr ' ' '\ ')"
cmd bulkrename $vidir $fx
+cmd showallpics $exa *.png *.jpg *.jpeg *.gif *.webp *.tif *.ico 2>/dev/null | sxiv -taib &
map gr cd /
map gm cd ~/hdd
map gc cd ~/.config
map gb cd ~/.local/bin
map gs cd ~/.local/share
+map gp cd ~/.local/packs
map gM cd /mnt
map gt cd /tmp
+
map za set hidden!
map zh set info size:time
map <c-f> $lf -remote "send $id select '$(fzf)'"
@@ -59,10 +62,11 @@ map <c-s> $$SHELL
map <c-n> push :mkdir<space>
map <f-7> push :mkdir<space>
map <c-r> reload
-map x $$f
-map X !$f
+map X $$f
map o &mimeopen $f
map O $mimeopen --ask $f
+map V showallpics
+map x showallpics
map A rename # at the very end
map c push A<c-u> # new rename
@@ -75,4 +79,3 @@ map <f-2> bulkrename
map <c-e> down
map <c-y> up
map E push :$$EDITOR<space>
-map V push :$$EDITOR<space>
diff --git a/.config/x11/xresources b/.config/x11/xresources
index 424818a..e5e5f6a 100644
--- a/.config/x11/xresources
+++ b/.config/x11/xresources
@@ -7,4 +7,6 @@ Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xcursor.theme: redglass
Xcursor.size: 18
-xiv.background: #1d2021
+Sxiv.background: #1d2021
+Sxiv.foreground: #ebdbb2
+Sxiv.font: UbuntuMono Nerd Font-11