Skip to content

Custom hotkey should be hidden in taskbar #525

@lspita

Description

@lspita

I created a custom hotkey that toggles my theme using Koi, but when I launch it, a loading icon appears during the theme transition.

Image

This is the configuration

hotkeys.commands = {
    "koi-toggle-theme" = {
        key = "Meta+F5";
        command = "qdbus dev.baduhai.Koi /Koi local.KoiDbusInterface.toggleMode";
    };
 };

I believe it's not a Koi problem, since if I create the shortcut manually from the settings the icon does not appear.
Probably it's because the generated desktop file that is launched does not contain X-KDE-GlobalAccel-CommandShortcut=true, like suggested in this closed issue.

This is the generated /etc/profiles/per-user/$USER/share/applications/plasma-manager-commands.desktop

[Desktop Entry]
Actions=koi-toggle-theme
Name=Plasma Manager
NoDisplay=true
Terminal=false
Type=Application
Version=1.4

[Desktop Action koi-toggle-theme]
Exec=qdbus dev.baduhai.Koi /Koi local.KoiDbusInterface.toggleMode
Name=koi-toggle-theme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions