Clone git repo, run make command and you are ready to go! - you just need C compiler and gnumake!
git clone https://github.com/danihek/hellcard && cd hellcard && make
Warning
For now, because of early development hellcard only supports hellwal as a backend, but other color palettes generators will be supported as well in the future.
Copy colors.hellwal template from hellwal repo, put it in ~/.config/hellwal/templates
folder and run hellwal with your wallpaper.
hellwal -i wallpaper.png
this will generate colors.hellwal in your cache folder in
~/.cache/hellwal/
folder. if you dont want to color your terminals, use--skip-term-colors
Now you can run hellcard with same wallpaper, preffered style (1-3) and some width:
./hellcard -i wallpaper.png -s 2 -w 2048
...And thats it! You can try other styles or even create your own by modifying the source code.
like here: reddit
You can create a script that is in synergy with hellwal, so you can use $wallpaper variable, and easly fetch any values. It will be even more useful in the future.
Example script that will show hellcard after changing wallpaper:
#!/usr/bin/env sh
# Generate colorscheme from random wallpaper from folder
hellwal -i $HOME/wallpapers/ -r
# Source all variables like $wallpaper, $color0-15
source ~/.cache/hellwal/variables.sh
# Run hellcard to generate hellcard :p
./hellcard -i $wallpaper -s 2 -o "$HOME/.cache/hellcard.png" -w 1024
# Splash this work of art at your screen with image viewer!
imv "$HOME/.cache/hellcard.png"
Example script for all your wallpapers:
#!/usr/bin/env sh
for w in $(ls -1 ~/wallpapers); do
hellwal -i $HOME/wallpapers/$w
source ~/.cache/hellwal/variables.sh
./hellcard -i $wallpaper -s 1 -o "$(echo $w)_out1.png" -w 4096
./hellcard -i $wallpaper -s 2 -o "$(echo $w)_out2.png" -w 4096
./hellcard -i $wallpaper -s 3 -o "$(echo $w)_out3.png" -w 4096
done