More capabilities for DGPO and its widget
Feature Description
The ability to pause a process. The ability to set the affinity of the process. The ability to set the priority of the process. Creating profiles. Assigning a profile to a process. Automatically loading profiles as soon as the process is started.
Use Case
To pause a game to save power, e.g., if you need to go to the bathroom. To allocate high-performance cores for a process, e.g., games, approx...
Compositor(s)
- [x] All compositors
- [ ] Niri
- [ ] Hyprland
- [ ] MangoWC (dwl)
- [ ] Sway
- [ ] Other (specify below)
Proposed Solution
No response
Alternatives/Existing Solutions
No response
That's hardcore and it would be amazing.
It would be great to also have (at least in the CLI version):
- Process search
- Ability to send signals (USR, TERM, KILL, etc.)
Currently working on this. Process search is already done, profiles would be out of scope for my work since thats a large feature for rather little benefit imo that would require constant polling or a kernel-level interface. Setting affinity and pausing/resuming a process is a nice idea. sending other signals such as TERM and KILL is also already implemented with the recent rework of the system monitor.
I think this issue can be closed, unless someone disagrees with the things I left out on purpose (see previous comment)
Closing this, we can reopen though if profiles is a needed / doable feature.