-
Notifications
You must be signed in to change notification settings - Fork 20
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
[REQUEST] Toggle Light/Dark keyboard shortcut #10
Comments
This is an interesting one, making a keyboard shortcut to toggle would be simple enough, the problem is making it a global shortcut; i.e. available from wherever you are within Plasma. Not impossible but would require som research, will see what I can do. |
KDE supports global shortcuts. You could implement this. Or, allow for command line instructions that one can configure manually. |
I've made some advancement on this front, hopefully will be on the next release. |
I think the preferable way would just be to add a few command line arguments to Koi |
Hello! Is there any news on this feature? It's not a priority since the current manual method of switching through the system tray icon's context menu is already fairly fast, but it would be nice to have. I know Flameshot (a screenshotting utility) exposes some DBus calls that KDE Shortcuts can call. If for whatever reason the command line doesn't work out this is another method. |
I'll get around to it when I have some time. Thanks for posting how Flameshot does it, I remember research how to expose the shortcut to Plasma, but I didn't remember how it was done exactly. |
I think that dumb, but still working temporary solution is add an ability to switch dark/light modes through command line, and then pass this to KDE shortcuts manually, so @erwin gave the good idea for the start |
So for the command line, an option would be to register a dbus method for this app like in this KDE tutorial. Thus, we could control it via I would say that would be an easy MVP, achieving most needs. Then, if we want to expose it as a CLI option, we can simply wrap around qdbus for it. Finally, if we want to go full integration, I think we can definitely use |
The title basically says everything... it would be great to switch between Light/Dark themes using a keyboard shortcut
The text was updated successfully, but these errors were encountered: