Parachute icon indicating copy to clipboard operation
Parachute copied to clipboard

Support switching to different activities

Open muesli opened this issue 4 years ago • 3 comments

It would be nice if Parachute could provide an overview of running activities as well, so I could use it to

  1. switch between activities
  2. move windows between activites

muesli avatar Dec 19 '20 23:12 muesli

Activities management support for KWin scripts is not yet complete. When it is this can be an enhancement.

tcorreabr avatar Jan 11 '21 16:01 tcorreabr

Slightly offtopic, but on latest Parachute version ( 0.9.1 ) and wayland, I have a kwin script that changes activities based on which virtualdesktop it is. Something like: ` var setActivity = function(activity) { callDBus("org.kde.ActivityManager", "/ActivityManager/Activities", "org.kde.ActivityManager.Activities", "SetCurrentActivity", activity, function() {}); };

var changeActivity = function() { if (workspace.currentDesktop == 1) return setActivity("23640271-fddc-4ea9-b462-11951441a153"); if (workspace.currentDesktop == 2) return setActivity("eac13d03-66ee-4822-9d40-fb093dd2bd4b"); [...........]

};

workspace.currentDesktopChanged.connect(changeActivity); `

The good thing is that Parachute works very well with this ( only issue is the wallpapers on the top bar ). But switching virtual desktops ( which also switches wallpapers ( switches activity )) works very well and its very smooth.

alexjp avatar Feb 04 '21 18:02 alexjp

Even if this was a wayland-only function, I would love this.

Eoin-ONeill-Yokai avatar Sep 02 '21 04:09 Eoin-ONeill-Yokai