/warnai

Swiss army theme changer from .Xresources

Primary LanguageCSSMIT LicenseMIT

warnai

Swiss army theme changer from .Xresources

Dependencies

  • Inkscape (to render assets in gtk theme)
  • optipng
  • python3

Usage

$ ./warnai                                

Usage : warnai [options #parameter]

Avaible options
--wal     | -w    Generate color from pywal cache
--xcolor  | -xc   Generate color from custom .Xresources file
--gtk     | -g    Choose gtk theme from list [ fantome ]
--xfwm    | -xf   Choose xfwm4 theme from list [ pastel | black-paha | one_new | nest1 | diamondo | wendows | tetris | ribbon | just-title-bar | 365 | vela ]
--openbox | -ob   Choose openbox theme from list [ pelangi | tricky | mek-oes | small-tb | medium-tb | large-tb | small-border | medium-border | slight | slight-medium ]
--tint2   | -t    Choose tint2 theme from list [ chromeos | chromeos-tinted | chromeos-pelangi | slim-text-dark | slim-text-tinted | slim-text-tinted-dark | floaty-rounded | floaty | slim-float | minima-rounded | less-is-more | chrome-os ]
--norender| -n    Used with --gtk to stop it from rendering assets
--help    | -h    Show help

To generate gtk theme and xfwm4 theme with wal color scheme use:

$ ./warnai --wal --gtk fantome --xfwm [ pastel | black-paha | one_new | nest1 | diamondo | wendows ]

To generate only xfwm4 theme with wal color scheme use:

$ ./warnai --wal --xfwm [ pastel | black-paha | one_new | nest1 | diamondo | wendows ]

Remember to choose only one xfwm theme and not using bracket

Example:

To generate pastel xfwm theme

$ ./warnai --xfwm pastel

To generate mek-oes openbox theme and chrome-os tint2 theme using custom .Xresources file

$ ./warnai -xc /path/to/.Xresources -ob mek-oes -t chrome-os

Demo

Click image to go to youtube video Warnai demo

Credits

Buy me a ko-fi

ko-fi