| Summary: | Automatically suspend itself if certain application is running | ||
|---|---|---|---|
| Product: | [Applications] rsibreak | Reporter: | Jozef Říha <jose1711> |
| Component: | general | Assignee: | Albert Astals Cid <aacid> |
| Status: | REPORTED --- | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.12.14 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jozef Říha
2021-07-07 13:20:14 UTC
For the time being I am happy with what the documentation (https://docs.kde.org/trunk5/en/rsibreak/rsibreak/general-use.html) suggests - using DBus. E. g. a simple script run every minute by cron: if pgrep '^(supertuxkart|jumpnbump|torcs|foo|bar)$' then qdbus org.kde.rsibreak /rsibreak org.rsibreak.rsiwidget.suspend else qdbus org.kde.rsibreak /rsibreak org.rsibreak.rsiwidget.resume fi |