From: Andre Ramnitz Date: Tue, 22 Oct 2024 22:45:11 +0000 (+0200) Subject: lf: new command 'W' to set selected file as wallpaper X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=de508f1bb56f3add4e79150c20099df235921b83;p=dotfiles.git lf: new command 'W' to set selected file as wallpaper --- diff --git a/dot-config/lf/lfrc b/dot-config/lf/lfrc index 4ab656ed..72d4a298 100644 --- a/dot-config/lf/lfrc +++ b/dot-config/lf/lfrc @@ -334,10 +334,12 @@ cmd selected-to-new-folder ${{ # 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 set-swww-wallpaper %{{swww img $f}} cmd chdir cd "$@" # options per location setlocal ~ sortby name +setlocal ~/Downloads sortby ctime setlocal ~/Bilder/Screenshots sortby ctime setlocal ~/dotfiles sortby name setlocal /m sortby name @@ -425,4 +427,4 @@ map + push :glob-select map - push :glob-unselect map push :open-with-gui map push :open-with-cli - +map W :set-swww-wallpaper