igo95862 / cfs-zen-tweaks

Tweak Linux CPU scheduler for desktop responsiveness
GNU General Public License v2.0
173 stars 12 forks source link

simplified formatting #9

Open abc-mikey opened 2 years ago

abc-mikey commented 2 years ago

There is a lot of unnecessary printing of strings and subshelling going on here. I've simplified it down to gawk being called once with one parameter which holds the calculation and printf is used to convert it to an integer without a new line.

igo95862 commented 2 years ago

Hello,

What do you think about forking or transferring ownership?

Sorry, I kind of think of this project as feature complete and I don't really feel like spending time maintaining it.

Also I would rewrite in Python if I were to add any new features, anything other than few lines of script in shell is maintenance nightmare.