summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-01-23 09:10:01 -0500
committerAndrew Opalach <andrew@akon.city> 2025-01-23 09:10:01 -0500
commita135ec293eab8e7c9e5f581dc70cd5cf2bea587a (patch)
treea883c0c879bcbd9052ae0cac31b81ade94551507 /scripts
parentdce9ab07ae0b0496e432f213466fd6f442944fa7 (diff)
downloaddotfiles-a135ec293eab8e7c9e5f581dc70cd5cf2bea587a.tar.gz
dotfiles-a135ec293eab8e7c9e5f581dc70cd5cf2bea587a.tar.bz2
dotfiles-a135ec293eab8e7c9e5f581dc70cd5cf2bea587a.zip
Go back to stable wayland and mesa
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dmenu-path2
-rwxr-xr-xscripts/dmenu-path02
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dmenu-path b/scripts/dmenu-path
index e0637fe..9c8122a 100755
--- a/scripts/dmenu-path
+++ b/scripts/dmenu-path
@@ -1,3 +1,3 @@
#! /usr/bin/env sh
# https://github.com/ema/dotfiles/blob/fb7f5cab530daba74edefb9cecb401262db063a9/bin/dmenu_path
-printf $PATH -print0 | tr ':' '\0' | xargs -0 ls -Llu --time-style=+%s | awk '/^(-|l)/ { printf $6" "$7"\n" }' | sort -rn | cut -d' ' -f 2
+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
diff --git a/scripts/dmenu-path0 b/scripts/dmenu-path0
index 0e50457..593ecf6 100755
--- a/scripts/dmenu-path0
+++ b/scripts/dmenu-path0
@@ -1,3 +1,3 @@
#! /usr/bin/env sh
# https://github.com/ema/dotfiles/blob/fb7f5cab530daba74edefb9cecb401262db063a9/bin/dmenu_path
-printf $PATH -print0 | tr ':' '\0' | xargs -0 ls -Llu --time-style=+%s | awk '/^(-|l)/ { printf $6" "$7"\0" }' | sort -zrn | cut -z -d' ' -f 2
+printf $PATH -print0 | tr ':' '\0' | uniq -z | xargs -0 ls -Llu --time-style=+%s | awk '/^(-|l)/ { printf $6" "$7"\0" }' | sort -zrn | cut -z -d' ' -f 2