I'm trying to write a script to make my OS faster so I decided to limit CPU for background apps and minimized windows. There could be so many different ways to do that and I know two of them:
- Write the bash script that looks forward to the status of the windows.
- Add the CPU-Limiter bash script to minimize button script
These are the ways I could think of and if I wanna go into one of these two ways I ask these questions:
1-Where is the directory of minimize button script? 2-Where is the source of windows and background apps' status? If there is another way except for these ways, I pleased to hear it.