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

What does frequency mean? #4

Open
Gurmukh-Singh-4253 opened this issue Apr 27, 2024 · 3 comments
Open

What does frequency mean? #4

Gurmukh-Singh-4253 opened this issue Apr 27, 2024 · 3 comments

Comments

@Gurmukh-Singh-4253
Copy link

I have a time tab in my sketchybar config as well, which refreshes every 5 seconds.
Mond on the other hand, refreshes atleast once every second. So I tried tinkering with the refreshFrequency variable to make it also refresh once every 5 seconds but was unsuccessful, because I don't know how we are measuring the frequency. Is it the refreshes per second or the time delay in each refresh?

@Waradu
Copy link
Owner

Waradu commented Apr 27, 2024

refreshFrequency: 100
"It defines the delay in milliseconds between consecutive commands executions." like stated in the Übersicht GitHub
This means the widget refreshes every "refreshFrequency" milliseconds.
The Mond widget refreshes every 0.1 seconds, which is equivalent to 100 milliseconds. Setting it to 5000 would mean a refresh every 5 seconds, but note that this setting may cause issues with the seconds display.

@Gurmukh-Singh-4253
Copy link
Author

yes but it seems to add another issue, the application seems to stop working post suspension. can you please tell how to solve this issue

@Waradu
Copy link
Owner

Waradu commented Apr 29, 2024

Unfortunately I can't really help as I no longer have a MacBook. Maybe try asking on the official übersicht github.

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

No branches or pull requests

2 participants