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.
Make a hard link of 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.
Make sure to use the fully expanded path (no ~/ or $HOME), otherwise it won't work.
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.
To trigger the script with a keyboard shortcut, enter this line to your i3 config:
## Custom // Trigger Relogen Script // <Mod> <Alt> R ## bindsym $mod+$alt+R exec $HOME/.local/bin/relogen
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 work. relogen only consolidates the two.
If you enjoy this script, please consider donating to the creators of Regolith, pywal or powershell.