Turn pkg and cmd functions into bins to avoid PATH issues in subshells

This commit is contained in:
David Heinemeier Hansson
2025-08-31 09:18:06 +02:00
parent 94ad5d4d37
commit 9e5b4fc871
44 changed files with 98 additions and 106 deletions

View File

@@ -1,9 +1,9 @@
echo "Replace wofi with walker as the default launcher"
if cmd-missing walker; then
pkg-add walker-bin libqalculate
if omarchy-cmd-missing walker; then
omarchy-pkg-add walker-bin libqalculate
pkg-remove wofi
omarchy-pkg-drop wofi
rm -rf ~/.config/wofi
mkdir -p ~/.config/walker