oNaiPs / dmenu-mac

Dmenu inspired mac port
GNU General Public License v3.0
288 stars 25 forks source link

Using Python2 #34

Closed dennis-n-schneider closed 1 year ago

dennis-n-schneider commented 2 years ago

Please upgrade to using python3. It is easily done by changing the following line from "scripts/dmenu-mac":

function realpath() { python -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }

to

function realpath() { python3 -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }

(Only change: python -> python3)

As far as I can tell it directly works.

Markus-Be commented 1 year ago

Also on macOS 13 python as program or symlink is not present.

I have created a PullRequest. https://github.com/oNaiPs/dmenu-mac/pull/36

oNaiPs commented 1 year ago

Fixed in https://github.com/oNaiPs/dmenu-mac/pull/36