COSMIC Terminal is a terminal emulator for COSMIC. When I used it, I noticed that with the default theme, i.e., Cosmic Dark, my pywal colors were messed up.
To solve this I manually copied and pasted colors 0-7 and respective foreground and cursor color from the colors.sh
file at ~/.cache/wal/colors.sh
.
- First, clone this repo:
git clone https://github.com/dharmik2319/pywal-cosmic-term.git
- Then, after
cd
ing into the directory, install the dependencies.
pip install -r requirements.txt
- Now the script is ready for use:
python main.py
That's it. For advanced usage run with -h
flag. You can output to a custom file [Default: ./pywal.ron
], use your own sample file [Default: ./COSMIC Dark.ron
], and give the path to your pywal colors file [Default: ~/.cache/wal/colors
].
-
View > Colour Schemes > Dark/Light> Import > /path/to/pywal.ron
-
View > Settings > Colour scheme dark/light > pywal
-
(it may look like the above are normal colours, but with other commands like
ls
andhtop
the text is illegible. it is not fixed withwal -R
]
(The terminal and other Cosmic components themed with cosmic_ext_bg_theme.)
Pyron
orpython-ron
made the task a bit easier.