Giter Club home page Giter Club logo

Comments (6)

rquellet avatar rquellet commented on May 19, 2024 3

Another solution is to define a shortcut to the AutoDarkMode.exe with a command line argument of "/dark" or "/light". Then define a global keyboard shortcut to launch this shortcut.

Here's an example shortcut:
image

It'd be nice if there was a "/toggle" command line argument so I can define only one shortcut instead of two. Here's the code to add to App.xaml.cs:

                    else if(value == "/toggle")
                    {
                        RegEditHandler regEditHandler = new RegEditHandler();
                        if (regEditHandler.SystemUsesLightTheme())
                            regEditHandler.ThemeToDark();
                        else
                            regEditHandler.ThemeToLight();
                    }

from windows-auto-night-mode.

Spiritreader avatar Spiritreader commented on May 19, 2024 3

hotkeys

It's done.

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 19, 2024 1

Hello,

I released a new version of Auto-Night Mode. Version 2.0 introduces fast theme switching with the program Jump-List. So you can pin the program to your start screen or to the taskbar, and then right click on it to switch the theme.

This solution is much easier & resource-saving than a global hotkey. I hope you like it!

Click here to download the new version

from windows-auto-night-mode.

aderchox avatar aderchox commented on May 19, 2024 1

Hello,

I released a new version of Auto-Night Mode. Version 2.0 introduces fast theme switching with the program Jump-List. So you can pin the program to your start screen or to the taskbar, and then right click on it to switch the theme.

This solution is much easier & resource-saving than a global hotkey. I hope you like it!

Click here to download the new version

This seems to be the best solution so far. I've pinned it to my Start menu and it works. But I still wish to have this keyboard shortcut as well, hopefully at some point. There ARE already apps that can help with this but I don't want to install two different apps for achieving one goal.
Thank you ✨.

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 19, 2024

I also had the nice idea. But the App would need a background task to do so.

from windows-auto-night-mode.

Spiritreader avatar Spiritreader commented on May 19, 2024

Hello,
I released a new version of Auto-Night Mode. Version 2.0 introduces fast theme switching with the program Jump-List. So you can pin the program to your start screen or to the taskbar, and then right click on it to switch the theme.
This solution is much easier & resource-saving than a global hotkey. I hope you like it!
Click here to download the new version

This seems to be the best solution so far. I've pinned it to my Start menu and it works. But I still wish to have this keyboard shortcut as well, hopefully at some point. There ARE already apps that can help with this but I don't want to install two different apps for achieving one goal. Thank you ✨.

Global hotkeys are very high on our priority list.
The next major feature release will not launch before this has been implemented.

from windows-auto-night-mode.

Related Issues (20)

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.