dotfiles/styler/.local/bin
Marty Oehme 8635b580bd
[styler] Add universal theme filter function
Added universal theme filtering. Universal means the theme exists for
each installed package. This is a (rough) way of knowing that it can
apply to every intended application -- though of course will not work if
more packages are installed than intended to be changed with processors.

The `styler list themes` command will default to only show universal
themes. To list all themes invoke with `styler list themes all`.

Styler will cache the available themes after the first retrieval. The
first retrieval still takes a while (~8.7 seconds for me), but
subsequent retrievals are much quicker. Cache will automatically be
rebuilt whenever a new package is downloaded, or an already downloaded
package is updated.
The filter function, as it stands it quite inefficient and could use
a better algorithm.

Uses rg or grep in descending preference.
2020-06-19 15:15:55 +02:00
..
styler [styler] Add universal theme filter function 2020-06-19 15:15:55 +02:00