3 ms·
You can assign a folder full of images to the background of Terminal.app, and it will choose background images at random, so a folder full of dark solid colors
by tptacek 6y ago
You can assign a folder full of images to the background of Terminal.app, and it will choose background images at random, so a folder full of dark solid colors gives you random dark backgrounds, enabling you to tell your terminal windows apart easily.
- cpach 6y agoOh. That’s really neat. I have used macOS for seven years and I had no idea that this feature exists.
- dividedbyzero 6y agoThis does not seem to be supported in iTerm, if anyone else is wondering.
- tptacek 6y agoIn fairness, it's barely supported in Terminal.app --- in that I had to make a bunch of solid-colored images to make it work! It should be a first-class feature of all terminal applications. I had no idea how much I want this feature day-to-day until I got fed up with a 27" monitor display crammed with overlapping identical-looking tcpdump windows a few weeks ago.
- eddyg 6y agoYou can likely achieve something similar using iTerm's Python API. For example, this script[0] picks a random color preset each time a new session is created, and this one[1] picks a preset based on the hostname. [0] https://www.iterm2.com/python-api/examples/random_color.html https://www.iterm2.com/python-api/examples/random_color.html [1] https://www.iterm2.com/python-api/examples/colorhost.html https://www.iterm2.com/python-api/examples/colorhost.html