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

Question about the app + MacOS support #6

Open
mjehrhart opened this issue Apr 21, 2022 · 5 comments
Open

Question about the app + MacOS support #6

mjehrhart opened this issue Apr 21, 2022 · 5 comments
Labels
question Further information is requested

Comments

@mjehrhart
Copy link

Does your app run as background wallpaper for the desktop?

Thanks.

@YassinEldeeb
Copy link
Member

YassinEldeeb commented Apr 21, 2022

Yes exactly, It runs in the system tray as a Cron scheduler depending on what is the least time unit you choose to show as a time format, It loads the image you choose whether it's a solid color, cached downloaded image from a URL or an image from disk and draws the time left with your chosen font at the center of the image then set it as a wallpaper for your desktop, this operation is supposed to be very efficient than casual ideas like widgets, standalone apps, ..etc. So that's the big deal about it and btw there are still a lot of optimizations that should be done for improving CPU & Memory usage even more(The goal is to give fancy features like setting deadlines in a gentle way for super low-end hardware users cause two years ago I struggled with using these fancy apps on my toaster laptop).

Btw, I should enable discussions on this repo for good discussions like this.

Thank you for your interest to know more about the app, If you want to know any other details I'm here to help in the discussions tab.

@YassinEldeeb
Copy link
Member

How did you find the project btw? I'm curious to know.

@YassinEldeeb YassinEldeeb reopened this Apr 21, 2022
@YassinEldeeb YassinEldeeb added the question Further information is requested label Apr 21, 2022
@mjehrhart
Copy link
Author

Thanks for sharing the details. I'm on a Mac and so cannot test. But it think its a great idea and you did a good job showing it off. Do you think this could be done on a Mac?

I found your repo from emilk/egui discussions.

@YassinEldeeb
Copy link
Member

YassinEldeeb commented Apr 23, 2022

> I'm on a Mac and so cannot test, Do you think this could be done on a Mac?

I'm pretty sure that I've ensured that everything is cross-platform compatible, but unfortunately, I don't have access to a Mac, so I've only tested it on Windows/Linux which works pretty well, If you can share with me what problems you've faced when trying it, I think I would be able to support Mac from your feedback.

You can download it for Mac here.

How to run it?

I think binaries on Mac don't have an extension so you would have to spin up a terminal and execute it from there with the needed permissions, you should be able to see the GUI running, If not please let me know.

> you did a good job showing it off.

Thank you ❤, yes I've made everything that I can do to show it off; video, website, discussions

> I found your repo from emilk/egui discussions.

Oh yeah, I've also seen your project too there, It's very cool 👏.

@YassinEldeeb YassinEldeeb changed the title Question about app Question about the app + MacOS support Apr 23, 2022
@YassinEldeeb
Copy link
Member

YassinEldeeb commented Apr 23, 2022

Also if you were a bit curious about why the app consists of two separate binaries 🤔
image

It's because Egui doesn't support killing the window without exiting the whole process as discussed here and that's a problem cause the app needs to run in the system tray without the GUI and It needs the functionality to close/open the GUI without exiting the scheduler process, so that's why they're two separate binaries and they communicate through an HTTP server running on the scheduler binary to ping a binary to shutdown or check the status of a running process.
Screenshot 2022-04-23 230247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants