Removed personal preferences from theme config file
Added note for wallpaper path expansion
Moved wallpaper path back to wallpaper config
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 styles/relogen/
to ~/.config/regolith/
Make a hard link of the relogen script file to ~/.local/bin/
Make the script executable by running
chmod +x ~/.local/bin/relogen
Update ~/.Xresources-regolith
to point to the relogen theme:
#include ".config/regolith/styles/relogen/root"
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.
Edit ~/.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 .config/powerline-shell/config.json
"theme": "~/.config/regolith/styles/regen/powerline.py"
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.
https://github.com/dylanaraps/pywal
https://github.com/supermarin/YosemiteSanFranciscoFont
A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh.
https://github.com/b-ryan/powerline-shell
~/.cache/wal/
.~/.config/regolith/styles/relogen/color
.~/.cache/wal/
and stores it in the theme folder.regolith-look-refresh
is executed.As you can see, pywal and regolith do all the hard work. relogen only consolidates the two.
https://merveilles.town/@rostiger/104169118581715098
If you enjoy this script, please consider donating to the creators of Regolith, pywal or powershell.