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

skhd mode indicator #3

Closed
nomppy opened this issue Apr 24, 2024 · 3 comments · Fixed by Jean-Tinland/simple-bar#398
Closed

skhd mode indicator #3

nomppy opened this issue Apr 24, 2024 · 3 comments · Fixed by Jean-Tinland/simple-bar#398

Comments

@nomppy
Copy link

nomppy commented Apr 24, 2024

Is it possible to use the server to refresh the skhd mode indicator instead of using AppleScript to refresh the entire process?

I am currently using https://www.jeantinland.com/toolbox/simple-bar/documentation/skhd-mode-indicator/

@Jean-Tinland
Copy link
Owner

Yeah sure! I'll look if I can integrate the skhd refresh inside the data widgets refresh api.

@Jean-Tinland
Copy link
Owner

I added a new endpoint that should allow you to refresh this indicator with a simple curl as stated in the updated documentation here.

You'll need to pull both simple-bar and simple-bar-server in order to get this working.

Please let me know if this is working as I'm not using this feature I couldn't test it at all.

@nomppy
Copy link
Author

nomppy commented May 2, 2024

Thanks for this! It wasn't refreshing at first but I was able to fix it with minor modifications to the simple-bar code.
I made a pr here: Jean-Tinland/simple-bar#398

@nomppy nomppy closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants