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
# 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
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>
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