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