Zren / plasma-applet-presentwindows

https://store.kde.org/p/1181039/
16 stars 6 forks source link

Parachute integration #9

Closed koma111 closed 4 years ago

koma111 commented 4 years ago

There is a KWin script named Parachute which adds a Gnome-like oveview. It is still in active development, but already better than Desktop Grid and Present Windows view. Please consider adding an option for this in the settings of Present Windows Button. It would be a nice addition.

Zren commented 4 years ago

Use this command to confirm that "Parachute" is the shortcut id bound here: https://github.com/tcorreabr/Parachute/blob/master/contents/ui/main.qml#L97

qdbus org.kde.kglobalaccel /component/kwin shortcutNames | sort
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Parachute"

Then modify change "ExposeAll" to "Parachute" in ~/.local/share/plasma/plasmoids/com.github.zren.presentwindows/contents/ui/Main.qml

Test that the change works with:

plasmawindowed com.github.zren.presentwindows

Then restart plasma to reload the widget in the panel.

koma111 commented 4 years ago

Thanks, I can now properly patch my Present Windows Button installation like that, this is helpful. However, this can't be expected of everyone. When Parachute hits Beta or even Release, it would be nice to have this option in the Settings. That would save a lot of time for a lot of people.

Zren commented 4 years ago

Hmmm, I might be able to check if it's installed with:

kpackagetool5 --type=KWin/Script --list | grep Parachute

I didn't really want to list config options if it's not installed (as there's multiple scripts I might need to support).

Zren commented 4 years ago

v9 has been released with this feature.