diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 00:10:34 +0100 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-21 00:10:34 +0100 |
| commit | 8cdb3d2150fb591894d85d5ca5243f9ef6156099 (patch) | |
| tree | a8a2a325acafccfc54fdc9aeb16f32248f81dc52 /scripts/dmenu-mac | |
Squashed 'mut/dmenu-mac/' content from commit c86c277
git-subtree-dir: mut/dmenu-mac
git-subtree-split: c86c2774b8c7ac19299dfdc93d2e66e1a0393326
Diffstat (limited to 'scripts/dmenu-mac')
| -rwxr-xr-x | scripts/dmenu-mac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/dmenu-mac b/scripts/dmenu-mac new file mode 100755 index 0000000..111b364 --- /dev/null +++ b/scripts/dmenu-mac @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# +function realpath() { python3 -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; } +CONTENTS="$(dirname "$(dirname "$(realpath "$0")")")" +DMENU_MAC="$CONTENTS/MacOS/dmenu-mac" +"$DMENU_MAC" "$@" |
