Install Python 3.7 or higher:
Get a compatible terminal emulator:
0.27.0
onwardsYou can then proceed with one of the following methods for installation:
Linux users: Your distro might include pip
in a different package than Python, make sure to have that installed.
Run pip3 install git+https://github.com/LazoCoder/Pokemon-Terminal.git
.
If you want a system-wide install, run the command as superuser or administrator.
If you want a per-user install, append the --user
flag.
You might want to add the following directories to your PATH
on a per-user install, to be able to call pokemon
and ichooseyou
everywhere:
~/.local/bin
X
by your Python minor version, for example, 8 for Python 3.8)
%AppData%\Python\Python3X\Scripts
for a desktop installation of Python;%LocalAppData%\Packages\PythonSoftwareFoundation.Python.3.X_qbz5n2kfra8p0\LocalCache\local-packages\Python3X\Scripts
for a Microsoft Store installation of Python (note that there's two X
here).When the command completes, it's installed and ready to go!
Obviously requires to have Node.js installed.
You can install in any (npm-supported) OS using npm install --global pokemon-terminal
. That's it, you're done!
Make sure you also have Python installed, npm
won't automagically do that for you.
This doesn't works on Microsoft Store installations of Python.
You can clone or download this repo, and run python3 setup.py install
at the root of the repo.
If you want a system-wide install, run the command as superuser or administrator.
If you want a per-user install, append the --user
flag. Look at the pip directives to add a per-user install to your PATH
.
usage: pokemon [-h] [-n NAME]
[-r [{kanto,johto,hoenn,sinnoh,unova,kalos} [{kanto,johto,hoenn,sinnoh,unova,kalos} ...]]]
[-l [0.xx]] [-d [0.xx]]
[-t [{normal,fire,fighting,water,flying,grass,poison,electric,ground,psychic,rock,ice,bug,dragon,ghost,dark,steel,fairy} [{normal,fire,fighting,water,flying,grass,poison,electric,ground,psychic,rock,ice,bug,dragon,ghost,dark,steel,fairy} ...]]]
[-ne] [-e] [-ss [X]] [-w] [-v] [-dr] [-c]
[id]
Set a pokemon to the current terminal background or wallpaper
positional arguments:
id Specify the wanted pokemon ID or the exact (case
insensitive) name
optional arguments:
-h, --help show this help message and exit
-c, --clear Clears the current pokemon from terminal background
and quits.
Filters:
Arguments used to filter the list of pokemons with various conditions that
then will be picked
-n NAME, --name NAME Filter by pokemon which name contains NAME
-r [{kanto,johto,hoenn,sinnoh,unova,kalos} [{kanto,johto,hoenn,sinnoh,unova,kalos} ...]], --region [{kanto,johto,hoenn,sinnoh,unova,kalos} [{kanto,johto,hoenn,sinnoh,unova,kalos} ...]]
Filter the pokemons by region
-l [0.xx], --light [0.xx]
Filter out the pokemons darker (lightness threshold
lower) then 0.xx (default is 0.7)
-d [0.xx], --dark [0.xx]
Filter out the pokemons lighter (lightness threshold
higher) then 0.xx (default is 0.42)
-t [{normal,fire,fighting,water,flying,grass,poison,electric,ground,psychic,rock,ice,bug,dragon,ghost,dark,steel,fairy} [{normal,fire,fighting,water,flying,grass,poison,electric,ground,psychic,rock,ice,bug,dragon,ghost,dark,steel,fairy} ...]], --type [{normal,fire,fighting,water,flying,grass,poison,electric,ground,psychic,rock,ice,bug,dragon,ghost,dark,steel,fairy} [{normal,fire,fighting,water,flying,grass,poison,electric,ground,psychic,rock,ice,bug,dragon,ghost,dark,steel,fairy} ...]]
Filter the pokemons by type.
-ne, --no-extras Excludes extra pokemons (from the extras folder)
-e, --extras Excludes all non-extra pokemons
Misc:
-ss [X], --slideshow [X]
Instead of simply choosing a random pokemon from the
filtered list, starts a slideshow (with X minutes of
delay between pokemon) in the background with the
pokemon that matched the filters
-w, --wallpaper Changes the desktop wallpaper instead of the terminal
background
-v, --verbose Enables verbose output
-dr, --dry-run Implies -v and doesn't actually changes either
wallpaper or background after the pokemon has been
chosen
Not setting any filters will get a completely random pokemon
Example:
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 text sometimes. Transparency resolves this issue. Since Pokemon-Terminal only changes the background, the transparency must be done manually:
The result should look like this:
You can, like in iTerm2, enable transparency. Simply press the down arrow in the tab bar and click settings. Once the JSON file opens, add the following settings under the defaults
section:
"backgroundImageOpacity": 0.5, "useAcrylic": true, "acrylicOpacity": 0.0
The result should look like this:
To dynamically set background images in kitty, we use its remote control feature. It is not enabled by default, and can be configured to be password protected.
The way passwords work for kitty remote control is that you set one or more passwords, each granting some amount of permissions (see the docs for details).
Here's an example of how to set it up in ./config/kitty/kitty.conf
:
# Enable remote control (password protected)
allow_remote_control password
# Option 1: Allow setting the background image with a password
remote_control_password "missingno" set-background-image
# Option 2: Allow setting the background image without a password
# (slightly less secure, a malicious actor could mess up your backgrounds)
remote_control_password "" set-background-image
If you choose option 1 (recommended), you still need to pass your chosen password when running pokemon
, this works using the environment variable KITTY_RC_PASSWORD
- i.e. you can run KITTY_RC_PASSWORD=missingno pokemon
, or set the variable in any other way using your method of choice.
The folder pokemonterminal/Images/Extra
is for adding custom images. You can manually add backgrounds to this folder and they will be visible to the program. Only JPG format is supported. To see a list of all the custom backgrounds type:
$ pokemon -e -dr
Alternatively, you can delete images from this folder and it will not break the program. These are some custom backgrounds:
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.
If you are using Tilix and the terminal background is not changing, try adjusting the transparency in your profile settings.
If you are experiencing issues with Terminology and are running on Ubuntu, make sure that you have installed the latest version:
$ sudo add-apt-repository ppa:niko2040/e19 $ sudo apt-get update $ sudo apt install terminology
To save a background you will need to setup a startup command in the profile:
pokemon -n [pokemon name]
. You can see an example in the image down below.
pokemon
for a random theme each time you open up a new terminal.; clear
if you don't care about the line showing up at the top of the terminal.After setting your desired pokemon, from the menu under the symbol at left of title bar, navigate to Settings > Main > Background and click Save Settings.
Terminology already saves it automatically, just untick "temporary" in the settings after setting your desired Pokemon:
To show a random Pokemon each session:
~/.bashrc
in your favorite text editor.if [[ "$TERMINOLOGY" -eq "1" ]]; then pokemon fi
That will simply pick a completely random Pokemon each session, but the pokemon
line is simply calling the app, so you can still filter with regions, darkness, and etc. like you normally would, or you can also reset to a preset Pokemon every time you start.
字节跳动发布的AI编程神器IDE
Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。
全能AI智能助手,随时解答生活与工作的多样问题
问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。
实时语音翻译/同声传译工具
Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。
一键生成PPT和Word,让学习生活更轻松
讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。
深度推理能力全新升级,全面对标OpenAI o1
科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。
一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型
Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。
AI助力,做PPT更简单!
咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。