diff options
Diffstat (limited to 'scripts/desktop/dmenu-path')
| -rwxr-xr-x | scripts/desktop/dmenu-path | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/desktop/dmenu-path b/scripts/desktop/dmenu-path new file mode 100755 index 0000000..9c8122a --- /dev/null +++ b/scripts/desktop/dmenu-path @@ -0,0 +1,3 @@ +#! /usr/bin/env sh +# https://github.com/ema/dotfiles/blob/fb7f5cab530daba74edefb9cecb401262db063a9/bin/dmenu_path +printf $PATH -print0 | tr ':' '\0' | uniq -z | xargs -0 ls -Llu --time-style=+%s | awk '/^(-|l)/ { printf $6" "$7"\n" }' | sort -rn | cut -d' ' -f 2 |