sway_search: add max-depth 4

This commit is contained in:
Konstantin Koslowski 2021-07-27 19:45:29 +02:00
parent 93bf3cd7ea
commit a0a636cfaa

View file

@ -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')"