Skip to content

Clear icon cache on theme change #34

@brongulus

Description

@brongulus

Hi, thanks for the great work!

I have an automatic timer for changing themes, however upon theme change the kind-icon still follow the old colorscheme.

I can manually clear the cache by using kind-icon-reset-cache, however I was wondering if it is possible to automate that upon invocation of load-theme.

I tried advising load-theme as

(advice-add 'load-theme :after #'kind-icon-reset-cache)

however that wasn't working. Do you have any idea on how I can proceed with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions