Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Make it easier to add user-defined themes #36

Open
unixorn opened this issue May 16, 2024 · 3 comments
Open

[FEATURE] Make it easier to add user-defined themes #36

unixorn opened this issue May 16, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@unixorn
Copy link
Owner

unixorn commented May 16, 2024

Is your feature request related to a problem? Please describe.

Make it possible to add a user-created theme without having to change the code (like #34 did).

Describe the solution you'd like

Ideally something where files in ~/.lima-xbar/themes or ~/Library/Application\ Support/net.unixorn.lima-xbar/themes can be selected from.

It would be nice if there was a Load Theme command that you could give an URL and a Theme Name and the plugin downloaded the theme and installed it as a file so that users don't have to rummage through ~/Library

Describe alternatives you've considered

Using defaults write to define the various states. This seems way more annoying than dropping a file into a directory or downloading one

@unixorn unixorn added enhancement New feature or request help wanted Extra attention is needed labels May 16, 2024
@pythoninthegrass
Copy link
Contributor

What about writing functions that get exposed in the UI to select available themes or install new ones from a file?

Was thinking it could be a line item either underneath About... or after the VM listing.

@unixorn
Copy link
Owner Author

unixorn commented May 17, 2024

Functions loaded from a plugin file would be a good solution.

@exculibar
Copy link
Contributor

exculibar commented May 20, 2024

I think write some config files into ~/.lima-xbar directory is good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants