diff --git a/bin/sway_search b/bin/sway_search index 1761b08..5bf3aac 100755 --- a/bin/sway_search +++ b/bin/sway_search @@ -1,3 +1,4 @@ #!/bin/bash -xdg-open "$(rg --no-messages --files $HOME -g '!{*.zip,*.rar,*.gz}' | \ - wofi --dmenu --insensitive --prompt 'find')" + +xdg-open "$(rg --no-messages --max-depth 4 --sortr modified --files $HOME | \ + sort -h | wofi --dmenu --insensitive --prompt 'recent files')"