From a28487fe6fbac72c7b1a752acab42dcc6ab46476 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Wed, 28 May 2025 14:24:58 -0400 Subject: Post server fs corruption --- scripts/desktop/dmenu-path | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/desktop/dmenu-path (limited to 'scripts/desktop/dmenu-path') 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 -- cgit v1.2.3-101-g0448