ksyasuda / aniwrapper

A rofi wrapper around my fork of ani-cli: a command-line tool to stream, download, and play anime
GNU General Public License v3.0
19 stars 4 forks source link

How to change default theme? #3

Closed wiscaksono closed 2 years ago

wiscaksono commented 2 years ago

i tried to change theme directly from the aniwrapper, but when i reopen aniwrapper the theme always change to default.

ksyasuda commented 2 years ago

I would suggest instead that you create an alias that uses the -t flag For example: alias aniwrapper='aniwrapper -t dracula'

After running the code in the example above (or putting the alias in the .bashrc to make it persistent), any time aniwrapper is run, it will actually run aniwrapper -t dracula and launch with the dracula theme

ksyasuda commented 2 years ago

If you really don't want to set an alias or just prefer to edit the source code, then here are the edits that need to be made: There are 3 variables that need to be changed in aniwrapper: CFG_FILE, ROFI_THEME, and theme

image