Post-switch adjustments.

This commit is contained in:
Bartek Stalewski 2023-02-21 14:21:59 +01:00
parent 896fef83ec
commit e8e2fb2fb5
30 changed files with 2 additions and 2 deletions

13
_suckless/dmenu/dmenu_path Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
cachedir="${XDG_CACHE_HOME:-"$HOME/.cache"}"
cache="$cachedir/dmenu_run"
[ ! -e "$cachedir" ] && mkdir -p "$cachedir"
IFS=:
if stest -dqr -n "$cache" $PATH; then
stest -flx $PATH | sort -u | tee "$cache"
else
cat "$cache"
fi