https://github.com/photonios/iterm-color-to-gnome-terminal
Converts iTerm2's *.itemcolors to a gnome-terminal theme
https://github.com/photonios/iterm-color-to-gnome-terminal
gnome-terminal gnome-terminal-themes iterm2 iterm2-color-scheme iterm2-colors iterm2-theme profile theme
Last synced: 11 days ago
JSON representation
Converts iTerm2's *.itemcolors to a gnome-terminal theme
- Host: GitHub
- URL: https://github.com/photonios/iterm-color-to-gnome-terminal
- Owner: Photonios
- License: mit
- Created: 2019-03-17T07:35:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T11:00:40.000Z (about 6 years ago)
- Last Synced: 2025-04-01T10:35:42.225Z (about 1 month ago)
- Topics: gnome-terminal, gnome-terminal-themes, iterm2, iterm2-color-scheme, iterm2-colors, iterm2-theme, profile, theme
- Language: Python
- Size: 6.84 KB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iterm-color-to-gnome-terminal
Converts iTerm2's *.itemcolors to a gnome-terminal profile.
## Prerequisites
* Python 3.7 or newerThese scripts do not depend on any third-party libraries.
## Usage
$ ./iterm-colors-to-gnome-terminal.py [*.itemcolors file]
This dumps a new gnome-terminal profile to `stdout`. This profile can be loaded into gnome-terminal using the provided bash script:
$ ./import-gnome-terminal-profile.py < [file name here]
A complete example of converting a iTerm2 theme and importing it into gnome-terminal:
$ ./iterm-colors-to-gnome-terminal.py ./mytheme.itermcolors > mytheme.gtp
$ ./import-gnome-terminal-profile.py < mytheme.gtpFor convenience, both commands can be piped allowing you to the conversion and import in one command:
$ ./iterm-colors-to-gnome-terminal.py ./mytheme.itermcolors | ./import-gnome-terminal-profile.py
### Profile name
By default, the name of the resulting gnome-terminal profile will be the name of the original iTerm2 file, without the extension. The resulting profile name can be overriden using the `--profile-name` or `-n` flag:$ ./import-gnome-terminal-profile.py ./mytheme.itermcolors --profile-name "MyColors"