Hacker News new | past | comments | ask | show | jobs | submit login

I have a small python script responsible for dimming my thinkpad + external display; it takes an argument like 'b * 0.95' for 5% reduction, reads HW + SW brightness, and lowers HW brightness to minimum before then reducing the SW brightness.

Pretty nice and the only recent change I've made is making it re-evaluate the expression based on frequency of keystrokes (so 3 brightness-down keys in 1s becomes 9 evaluated decreases in brightness).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: