diff options
Diffstat (limited to 'scripts')
| -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" "$@" |
