From: Andre Ramnitz Date: Fri, 5 Sep 2025 00:10:44 +0000 (+0200) Subject: lf: update keybinds X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=c52bae39ce3ebfc9760b49b48d009416c05a1a34;p=dotfiles.git lf: update keybinds --- diff --git a/dot-config/lf/lfrc b/dot-config/lf/lfrc index e57cd84b..44c43f17 100644 --- a/dot-config/lf/lfrc +++ b/dot-config/lf/lfrc @@ -9,6 +9,10 @@ set info size set sortby name set drawbox true set roundbox true +set dircounts true + +# options +set rulerfmt '%i/%t (%P)' # previews via ueberzugpp and wrapper # set previewer ~/.config/lf/scripts/preview @@ -396,7 +400,16 @@ cmd yank-basename-without-extension &basename -a -- $fx | sed -E 's/\.[^.]+$//' # helpers cmd open-with-gui &$@ $fx # opens asynchronously, intended for GUI applications cmd open-with-cli $$@ $fx # opens synchronously, intended for CLI/TUI applications -cmd apply-wallpaper %{{swww img $f}} +cmd apply-wallpaper %{{swww img --resize crop -f Lanczos3 --transition-type center $f}} +cmd apply-wallpaper-pixel %{{swww img --resize crop -f Nearest --transition-type center $f}} +cmd apply-wallpaper-content %{{matugen -t scheme-content image $f}} +cmd apply-wallpaper-expressive %{{matugen -t scheme-expressive image $f}} +cmd apply-wallpaper-fidelity %{{matugen -t scheme-fidelity image $f}} +cmd apply-wallpaper-fruit-salad %{{matugen -t scheme-fruit-salad image $f}} +cmd apply-wallpaper-monochrome %{{matugen -t scheme-monochrome image $f}} +cmd apply-wallpaper-neutral %{{matugen -t scheme-neutral image $f}} +cmd apply-wallpaper-rainbow %{{matugen -t scheme-rainbow image $f}} +cmd apply-wallpaper-tonal-spot %{{matugen -t scheme-tonal-spot image $f}} cmd apply-hyprpaper %{{hyprctl hyprpaper reload ,$f}} cmd chdir cd "$@" cmd open-terminal-here &setsid -f "${TERMINAL}" >/dev/null 2>&1 @@ -441,7 +454,16 @@ map ae add-file-and-edit map aD add-dir-and-move-selection map af add-file map ah :apply-hyprpaper -map aw :apply-wallpaper +map sw :apply-wallpaper +map sW :apply-wallpaper-pixel +map awc :apply-wallpaper-content +map awe :apply-wallpaper-expressive +map awf :apply-wallpaper-fidelity +map awm :apply-wallpaper-monochrome +map awn :apply-wallpaper-neutral +map awr :apply-wallpaper-rainbow +map aws :apply-wallpaper-fruit-salad +map awt :apply-wallpaper-tonal-spot # c = change map cd push :cd @@ -475,15 +497,17 @@ map go :fzf_jump map gt cd ~/.local/share/Trash/ # o = order +map oB : set sortby btime; set reverse true; set info btime map oC : set sortby ctime; set reverse true; set info ctime map oE : set sortby ext; set reverse true; set info size +map oM : set sortby time; set reverse false; set info time map oN : set sortby name; set reverse true; set info size -map on : set sortby name; set reverse false; set info size -map of : set sortby natural; set reverse false map oS : set sortby size; set reverse true; set info size -map oM : set sortby time; set reverse false; set info time +map ob : set sortby btime; set reverse true; set info btime map oc : set sortby ctime; set reverse true; set info ctime +map of : set sortby natural; set reverse false map om : set sortby time; set reverse true; set info time +map on : set sortby name; set reverse false; set info size # p = paste map pL :link; clear @@ -492,8 +516,8 @@ map pl :link map pp :paste # q = -map q : quit -map Q +map q +map Q : quit # r = rename map rb bulk-rename