mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-23 20:33:08 +00:00
No description
.idea | ||
Data | ||
Images | ||
Notes | ||
Samples | ||
Scripts | ||
.gitignore | ||
backchanger.py | ||
extractor.py | ||
filegen.py | ||
LICENSE | ||
main.py | ||
pokemon | ||
printer.py | ||
README.md |
Pokemon-Terminal
Pokemon terminal themes for iTerm2. Supports a total of 493 unique Pokemon.
Sample Set #1 | Sample Set #2 |
---|---|
How to Install
- Make sure you have Python 3.5 or higher.
- Make sure you have iTerm2. If you have homebrew you can install iTerm with the following command:
brew cask install iterm2
- Download the repository and unzip it.
- Locate ~/.bash_profile and add the path to the repository so that it may be accessed from anywhere. Example:
# Pokemon PATH="/Users/Laki/GitHub/Pokemon-Terminal:${PATH}"
- Reload ~/.bash_profile so that the above changes are updated:
$ source ~/.bash_profile
- Now you can change the terminal background like so:
$ pokemon pikachu
Usage
Usage:
pokemon [parameter]
Parameters:
[name] - Change the terminal background to the specified Pokemon.
[index] - Change the terminal background to a Pokemon by its index.
[region] - List all the Pokemon of the specified region.
[letter] - List all Pokemon who's names begin with a particular letter.
Other Parameters:
pokemon all - List all the Pokemon supported.
pokemon random - Pick a Pokemon at random.
pokemon ? - Identify the current Pokemon.
pokemon regions - List all the available regions.
pokemon slideshow - Iterate through each Pokemon.
pokemon slideshow-kanto - Iterate through each Pokemon in the specified reigon.
pokemon help - Display this menu.
Example:
Suggestions
I highly suggest making the font colors black and the terminal window transparent. Some of the images have both light and dark colours and so it can be difficult to see the font sometimes. Transparency resolves this issue. Since Pokemon Terminal only changes the background, the transparency must be done manually:
- Navigate to iTerm2 > Preferences > Profiles > Window
- Set the transparency to the center value.
- Hit the "blur" checkbox.
- Set the blur to maximum.
Solutions for Issues
If you experience a line at the top of the terminal after changing the Pokemon, you can remove it by typing in the clear command or opening a new terminal.
Saving
I have not yet implemented a way to save the background to a profile. To save a background you will need to setup a startup command in the profile.
- Navigate to iTerm2 > Preferences > General
- Locate the field where it says Send text at start under Command.
- In that field type "pokemon [pokemon name]". You can see an example in the image down below.
- You can leave out "; clear" if you don't care about the line showing up at the top of the terminal.
Notes
- Nearly all of the Pokemon backgrounds were created by Teej.
- Originally the images were about 100mb in total but I used pngquant to compress them down to about 30mb.
- Since the images are compressed a few of them have some mild compression artifacts that are noticeable if the terminal is in full screen.