nix-community / plasma-manager

Manage KDE Plasma with Home Manager
https://nix-community.github.io/plasma-manager/
MIT License
602 stars 70 forks source link

Declaring favorites app in Kickoff through plasma-manager #376

Open mapperfr opened 11 hours ago

mapperfr commented 11 hours ago

Hi, I'm trying to figure out how to declare the favorites pinned in Kickoff. I looked on the Kickoff widget file but couldn't find anything useful. Is it possible? For the moment, the issue is that the applications I add to favorites become "unclickable" (= icons are visible but nothing happens when I click) every time I hit nixos-rebuild switch. Any help would be greatly appreciated, thanks!

HeitorAugustoLN commented 8 hours ago

When I added the kickoff module, I didn't add the favorites option because couldn't make it work. But looking into it now, it looks like the favorites are being set in $XDG_CONFIG_HOME/kactivitymanagerd-statsrc. So you can set it there. But I would recommend against it, since it is being set with the containment id of the applet, and if you are using overrideConfig, it gets changed overwritten every boot. But currently that should be the only available option for doing so.