https://github.com/s0rg/telegram-pywal
Telegram desktop client theme from pywal
https://github.com/s0rg/telegram-pywal
pywal telegram
Last synced: 7 months ago
JSON representation
Telegram desktop client theme from pywal
- Host: GitHub
- URL: https://github.com/s0rg/telegram-pywal
- Owner: s0rg
- License: mit
- Created: 2021-12-05T18:56:41.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-05T18:58:11.000Z (almost 4 years ago)
- Last Synced: 2025-01-18T05:31:04.334Z (9 months ago)
- Topics: pywal, telegram
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
This is a tool to generate [Telegram Desktop](https://desktop.telegram.org/) themes from
[pywal](https://github.com/dylanaraps/pywal) or [wal](https://github.com/dylanaraps/wal) files.Its (mostly) based on [telegram-palette-gen](https://github.com/AryToNeX/telegram-palette-gen.git) script,
but ported to python3 from bash to be less platform-dependent.# Installation
```bash
git clone https://github.com/s0rg/pywal-tg
cd pywal-tg
python3 pallete-gen.py
```# Set the color palette
To set the palette follow these steps:
1. Start Telegram Desktop application
2. Go to "Settings / Chat settings"
3. Click three-dots button near the closing cross, the menu will appear, click "Create new theme" option
4. Choose "Import existing theme"
5. Toggle hidden files and select file: ~/.cache/telegram-palette-gen/colors.tdesktop-palette
6. Click on "Keep changes"# Updating
You can update this tool by running git pull inside your pywal-tg directory:
```bash
cd pywal-tg
git pull
```# Important notes (from base project)
Some color constants in colors.tdesktop-palette are marked as // [UNTESTED], this because I couldn't find the elements responsable in the app.
So if you find something strange open an issue (with a screenshot of the element and it's name if possible) and I'll fix.You can also use light colorschemes, no need for extra option, just run the script normally.
The palette works with [wal] too, not just [pywal] and with every color palette that respects the specifications mentioned above.