Parachute icon indicating copy to clipboard operation
Parachute copied to clipboard

Plasma Screen Edges

Open divinae opened this issue 5 years ago • 12 comments

It would be nice to have option to set Parachute as Screen Edge action.

divinae avatar Mar 26 '20 07:03 divinae

I think we don't have that possibility via Kwin script. You may be able to do this by changing some configuration file manually and using "qdbus org.kde.kglobalaccel /component/kwin invokeShortcut Parachute".

tcorreabr avatar Mar 26 '20 19:03 tcorreabr

https://forum.kde.org/viewtopic.php?f=67&t=128169

divinae avatar Mar 26 '20 20:03 divinae

I think it is possible
https://www.pling.com/p/1266534/ https://github.com/Intika-KDE-Plasmoids/plasmoid-kwin-script-toggle-panel-screen-edge

divinae avatar Mar 26 '20 20:03 divinae

Indeed. I'll mark this as an enhancement.

tcorreabr avatar Mar 26 '20 21:03 tcorreabr

I create some additional script based on toogle-panel-screen-edge

https://gitlab.com/divinae/toogleparachute

unfortunately I don't found option to get current user in kwin javascript - user dir in main.js must be changed manualy :/

divinae avatar Mar 26 '20 22:03 divinae

I think you don't have to. You can invoke the Parachute dbus call (qdbus org.kde.kglobalaccel /component/kwin invokeShortcut Parachute) directly in your togglePanel() function. No script.sh file needed.

tcorreabr avatar Mar 30 '20 19:03 tcorreabr

You are right. It's working with dbus call without script.sh :)

divinae avatar Apr 04 '20 17:04 divinae

There is one more problem. When Parachute is activated screen edges don't work. So I can open it with Hot corner but not close.

divinae avatar Apr 04 '20 17:04 divinae

https://store.kde.org/p/1372470/ :)

divinae avatar Apr 04 '20 18:04 divinae

I'll try to figure out how to make the screen edge work with Parachute activated. If I find out I will integrate this functionality into it, with the help of your code.

tcorreabr avatar Apr 05 '20 13:04 tcorreabr

@tcorreabr and @divinae You guys saved my day, Parachute + ToggleParachute are one of the most wanted KwinScripts for me. ToggleParachute should definitely be included into Parachute! <3

heydemoura avatar Sep 20 '20 13:09 heydemoura

Hi, has anyone got deactivation working yet? I can activate with the hot-corner, but can't deactivate.

smalltimer avatar Nov 09 '21 23:11 smalltimer