]> Freerunner's - dotfiles.git/commitdiff
lf: move some keybinds from main char 't' to 'a'
authorAndre Ramnitz <tux.rising@gmail.com>
Sat, 26 Oct 2024 16:06:30 +0000 (18:06 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Sat, 26 Oct 2024 16:06:30 +0000 (18:06 +0200)
dot-config/lf/lfrc

index 72d4a2986845306be402fdfc15f7a30c97aa1c0f..e3c27d0cff977537abe4a285a5d0e054ea142aac 100644 (file)
@@ -54,13 +54,13 @@ set scrolloff 3
 map <delete> trash
 # map <delete> delete
 
-cmd touchdir ${{
+cmd add-dir ${{
        printf "Directory name:"
        read ans
        mkdir $ans
 }}
 
-cmd touchfile ${{
+cmd add-file ${{
        printf "File name:"
        read ans
        touch $ans
@@ -334,7 +334,7 @@ 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 apply-wallpaper %{{swww img $f}}
 cmd chdir cd "$@"
 
 # options per location
@@ -361,9 +361,10 @@ map mm mark-save
 map mr mark-remove
 map ml mark-load
 
-# t = touch
-map td touchdir
-map tt touchfile
+# a = add/apply
+map ad add-dir
+map af add-file
+map aw :apply-wallpaper
 
 # c = change
 map cd push :cd<space>
@@ -427,4 +428,3 @@ map + push :glob-select<space>
 map - push :glob-unselect<space>
 map <enter> push :open-with-gui<space>
 map <a-enter> push :open-with-cli<space>
-map W :set-swww-wallpaper