-
Notifications
You must be signed in to change notification settings - Fork 0
Themes
WARNING: Be careful when using other people's themes as malware can be embedded into the ps1 scripts
There are a few dependencies to the themes, you can download the TerminalChad font library here
In TerminalChad you have themes, that is the main feature.
To view the themes on your system, you can type the following command in your terminal:
terminalchad theme set
You can then type the name of the theme you like the most after the command, here is an example:
terminalchad theme set retro-clean
To create your own theme you can navigate to your 'appdata/roaming/TerminalChad/Themes' directory and copy the default theme. You can modify the contents of the theme to get it change to what you want.
There are four parts in these files:
This is used as startup information, it does not need to be modified unless you want to change the startup behaviour of powershell.
This is the config file for oh-my-posh, replace the contents with your favourite oh-my-posh theme, you can alternatively create your own similar to some of the themes.
This is the configuration file for Windows Terminal, this defines colours, keybinds etc... You can edit your settings file as normal in Windows Terminal but when you want to add it as a theme you can press shift on the settings button to open it in text view, copy that and replace contents in your theme.
This is pretty self-explanatory, it's the startup text. Use some ascii text generator and then replace the contents to change your startup text
We may want to install other people's themes, we could do this by manually going to the theme folder and dragging themes in. Luckily, TerminalChad has a feature that allows for PackageManager-like installation of themes.
There is one command:
terminalchad theme download
We can type the location of a theme repository after it, separating the github user's name with a dot after the repositories name. We then a provide it with a name to save the theme as, it's best to save it in lowercase.
Here's an example:
terminalchad theme download chobbycode.gigatheme gigatheme
It will automatically download from the main branch! If you want to use the master branch type the following, it has a -m after it:
terminalchad theme download chobbycode.gigatheme gigatheme2 -m
To reinstall the default themes:
terminalchad theme download chobbycode.terminalchadthemes / -m
Copyright (c) ChobbyCode 2024, All Rights Reserved, MIT License