Coder Social home page Coder Social logo

thejoefin / caffeinated Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmnd/caffeinated

34.0 34.0 4.0 1.08 MB

☕️ Prevent your Windows PC from sleeping. Port of Caffeine for OS X. Upgraded with modern Windows 10 APIs.

License: MIT License

C# 100.00%
msix win32 windows windows-10 windows-11 windows-store-app winforms

caffeinated's Introduction

Hi there 👋

  • 🔭 I’m currently working on productivity tools for Windows.
  • 👯 I’m looking to collaborate on desktop apps!
  • 💬 Ask me about productivity tools, coffee ☕, running 🏃‍♂️, or birding 🐦!
  • 📫 How to reach me: [email protected]

caffeinated's People

Contributors

dmnd avatar thejoefin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

caffeinated's Issues

Publish it as AOT?

Hi! I found your comment on the AOT discussion page and came here to see your advancements in publishing trimmed WinForms app.

Unfortunately, I was unable to make your repo working right away. Debug cannot start, immediately throw an exception somewhere in settings. Published app does not start, just nothing happen. Does it actually work? Were you able to publish it as AOT?

My app has similar setup with tray icon and just two child forms, "settings" and "about", right as yours. and I nearly gave up with AOT WinForms, despite of Net 8 promises.

bring back more duration options

I know that reducing the number of duration options was one of the first changes you made in d5f91b5, but would you consider bringing some of them back?

Particularly in light of now working from home due to COVID, I find myself wanting to keep the machine awake for the duration of the workday, since my home office is a secure environment, and I feel comfortable leaving the screen unlocked all day. So for that, the 5 hour option covered much of the day. A more advanced option would be to make it user-configurable, but that would require quite a lot more work.

Adaptive icon does not change after theme switch

Switching themes will not update the caffeinated icon until you right click it, go to settings and then close them. Until then it will stay the previous color scheme.

This breaks a bit if the theme is changed automatically at night for example. I assume it might be possible to either detect the change or periodically check it but not sure if the latter wouldn't waste resources on something that happens fairly rarely.

System Information
  • Windows: 10.0.19043 Build 19043 (Insider Stable)
  • Caffeinated: 1.5.0.0

Thanks for this app! It's really super useful

Where is installed and how to uninstall it

First thing first I don't know what caused some weird problems on my windows, I cannot even be sure if the fault was this app I installed from Microsoft Store, I just had to uninstall temporary, being one of the last installed applications.

I think it would beneficial to know where this app gets installed (maybe a small section on the README.md with even manual/automatic install) and a small section on how to uninstall it or even a small note on this utility settings.

I personally found it weird it was impossible to uninstall it from the good old Control Pannel of Windows . I finally succeeded from System Settings -> App -> Installed Apps -> search for Caffeinated -> Uninstall

Please add adaptive icon

When the app runs in Light mode, the icon is white. When you have a white taskbar, it makes the icon almost unreadable. Would really like it if acted like other icons on the taskbar.

I am using the Microsoft Store version

add build instructions

I'm a long-time unix engineer, but am brand new to building for Windows, and so don't know the build tools very well. Would you be willing to add some basic build instructions to the project README?

For example, I'm currently using VS Code with the dotnet CLI tools, but am running into this bug, and don't know if this is the right approach. I see that there is also msbuild.exe as well as the full version of Visual Studio. So even having documented what you are using to build would be really helpful for me to try and replicate a known-working setup.

Preferences Over-Written with Upgrade

Every upgrade/update pushed via the Store resets the preferences of Caffeinated.

So, position in dock, and all settings (regardless of what I had set prior):
image

Is there a way to prevent this from happening?

(Absolutely love this, BTW, replaced Insomnia for me!)

Black icon in Dark mode

With the latest version (1.3.1.0 on Microsoft Store), the icon is black no matter what the taskbar theme mode is (Light or Dark).
caffeinated-dark-taskbar

Consider more distinct icon

One of the difficulties I had with the original Caffeinated icon was that there wasn't sufficient visual distinction between the active and inactive state. I actually have find the same to be true with your updated eye icon... I have to focus very carefully to tell the difference.

What would you think of using the Material filled and outline coffee cup icons, like @adriancampos did in adriancampos@02405bd ? I think it matches the Windows 10 system icons nicely, and is easy to tell the difference between the two.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.