Yep. Timing worked itself out because the lower end brightness values have much less fine grain control so the breathing effect speeds up on its own
lel neat that it worked out like that, its a feature not a bug
yep. The only bad thing about this is that it uses almost 10% cpu to run. Im gonna reserve this down to being bash
yea knowing bash possibly. would it not be an option to port it over to another shell like ash or zsh? Not sure if there would be much improvement though.
no idea. im guessing most of the wasted cpu is down to massive amount of open() and close() calls im making to that file
ah if thats the case then probably not. is a shame though because it looks really good
Apple âthin and lightâ models of macbooks
What is this though XD
if that was attempt at pun 1/10 nice try tho
edit
waiit
i see now lol
english, strikes again
me not good at spelling
I know the struggles, I empathize with your plight
so how do i run it some one please run trough it for me
@Michael has this problem been solved yet?
There is a slight problem with this implementation problem right now. It uses almost 10% cpu power to run which may not be the best thing.
If not, then Iâd argue that using 10% of the CPU just for a keyboard backlight effect is kind of waste. Neat gimmick, but thatâs a lot of CPU power.
Hey and welcome, Iâll try and go through the basic process of running this script.
- Firstly copy the script and save it to file as something like
breath.sh
- Open a Terminal session and assign the execute permissions to the file with:
chmod +x breath.sh
- Now you should be able to run the script with:
sudo ./breath.sh
Also as a side note as it wasnât mentioned in the original post, I believe this script was designed to run on Linux and Iâm not sure whether it will also work in macOS or if it has the same access to the smcdriver needed for this script to run. @Dje4321 who wrote this script should know more on this as I donât have access to a device with macOS to test it.
I donât believe so? Dje mention it mightâve been an issue with bash so it may have had an update in the last two years that makes this run better but I really canât say.
My bad. I thought it was you who wrote the bash script. Time for new glasses indeed when I canât tell your avatars apart at a glance.
i am really fucking stupid so where do i copy it
the code
also i swiched to pc so im used to it
Just copy the text into a any text editor and save the file to whatever you want or just download the attached copy I made below:
breath.sh (878 Bytes)
thx for the help i probably have like one brain secl just dingin around in my head like a windows screen saver