←back to thread

225 points attogram | 3 comments | | HN request time: 0s | source

A github project to collect a bunch of bash-based screensavers/visualizations.
Show context
alejoar ◴[] No.45731748[source]
Doesn't work for me on MacOS:

I get "mapfile: command not found"

replies(5): >>45731825 #>>45731919 #>>45733380 #>>45733582 #>>45736773 #
SeeManDo ◴[] No.45731825[source]
Same here
replies(1): >>45731837 #
SeeManDo ◴[] No.45731837[source]
Bash Screensavers v0.0.27 (Mystic Shine)

./screensaver.sh: line 79: mapfile: command not found 1 .

(Press ^C to exit)

Choose your screensaver: 1 404 Screensaver Not Found:

Oh no! Screensaver had trouble! Error code: 1

replies(2): >>45731944 #>>45732065 #
SeeManDo ◴[] No.45732065[source]
Seems to be a old version of bash installed and used by default on macos
replies(1): >>45732161 #
1. SeeManDo ◴[] No.45732161[source]
Even after updating still getting the same error

checked active bash version:

echo $BASH_VERSION

5.3.3(1)-release

replies(1): >>45732400 #
2. seba_dos1 ◴[] No.45732400[source]
What's relevant is whether "/usr/bin/env bash" runs the correct one.
replies(1): >>45738395 #
3. kridsdale3 ◴[] No.45738395[source]
I used "brew install bash && brew info bash" to get the path, then ran that shell (zsh doesn't work), then inside that new bash, ran the screensaver app.

I found the 4k fullscreen perf in iTerm2 to be not-great, so I did it again in the kitty (GPU powered) terminal macos app, and it was good.