relogen is a simple script that generates Regolith color schemes using pywal.
Download & Install pywall: https://github.com/dylanaraps/pywal
Test pywal by running:
wal -i path/to/image/folder
This should set a new wallpaper from the specified path.
Copy the relogen script file to
Make the script executable by running
chmod +x ~/.local/bin/relogen
~/.Xresources-regolith to point to the relogen theme:
Edit the first line in
~/.config/regolith/styles/relogen/wallpaper to specify the path to your wallpaper directory.
Note: subdirectories in the wallpaper directory are ignored by pywal.
~/.bashrc with the following lines
#update terminal colors cat ~/.cache/wal/sequences
This will make sure that the terminal colors are applied each time a terminal is opened.
Add the following line to
If the file doesn't exist, you can use powerline/config.json
Download and install the font.
If you don't want to use this font, please edit
~/.config/regolith/styles/relogen/typeface and replace it with the font of your choice.
Open the terminal and type
relogen to see it in effect.
Regolith is a desktop environment built on top of Ubuntu, GNOME and i3.
Pywal is a tool that generates a color palette from the dominant colors in an image.
A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh.
~/.cache/wal/and stores it in the theme folder.
As you can see, pywal and regolith do all the hard workd. relogen only consolidates the two.
This is my first bash script and I'm also fairly new to Linux. Stuff might be inefficient, error prone or otherwise unwise. I'm happy to improve on it, so pull requests are welcome!
Here's a video of relogen in action:
If you enjoy this script, please consider donating to the creators of Regolith, pywal, powershell.