I use two virtual desktops. On the main one, I have a news-ticker widget that ideally I’d like to hide when I switch to the second desktop.
Searching around, it seems that there was a way to do this in Plasma 4&5, but none of the solutions for those versions seems to be valid for Plasma 6.
Is there a way to restrict a widget to a single desktop in Plasma 6? Or alternatively to hide/unhide it (perhaps using qdbus) which I could invoke in a script?
Strange… Even pulling it to a completely blank area, the properties grabber still thinks it’s just Plasmashell itself (even tried creating a different widget in case it was something odd about the news ticker)
Your mouse cursor will turn into a crosshair, click on desired window, the attribute you’re interested is named resourceClass it will hold your window class name.