| Summary: | Ability to run custom command/script on screen edge | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Dashon <dashonwwIII> |
| Component: | kcm_kwinscreenedges | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | wishlist | CC: | kde, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.17.5 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dashon
2020-01-20 23:44:00 UTC
This is currently do-able. Create a kwin script. Register for a screen edge. From here you can do whatever, you can probably perform your action directly, or super worst case you emit a DBus call to launch your script. Requires some nerdy steps, but this is a super nerdy feature that I don't think it's worth convoluting the UI for. (In reply to David Edmundson from comment #1) > This is currently do-able. > > Create a kwin script. Register for a screen edge. > From here you can do whatever, you can probably perform your action > directly, or super worst case you emit a DBus call to launch your script. > > Requires some nerdy steps, but this is a super nerdy feature that I don't > think it's worth convoluting the UI for. Thanks for the info is there a resource you can point me at for creating a kwin script and registering for a screen edge. Google just tells me to download one. I'm glad that this is doable tho. I can better use my touchscreen under kde now. If worst comes to worst I can try to reverse engineer a kwin script from the internet. The minimizeall script has an example of handling a screen edge It even magically adds itself to the relevant KCM UI. |