lightweight X11 utility to dim the screen and/or keyboard backlight when idle
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add many more lux steps

based on
https://msdn.microsoft.com/en-us/library/windows/desktop/dd319008(v=vs.85).aspx

+10 -3
+10 -3
xdimmer.c
··· 68 68 int backlight; 69 69 int kbd_backlight; 70 70 } als_settings[] = { 71 - { "dark room", 0, 40, 75 }, /* half screen, lots of keyboard */ 72 - { "normal", 5, 65, 0 }, /* no keyboard */ 73 - { "sunlight", 400, 100, 0 }, /* sunlight, what's that? */ 71 + /* scene min lux screen kbd */ 72 + { "pitch black", 0, 20, 80 }, 73 + { "very dark", 11, 30, 70 }, 74 + { "dark indoors", 51, 40, 60 }, 75 + { "dim indoors", 201, 50, 50 }, 76 + { "normal indoors", 401, 60, 40 }, 77 + { "bright indoors", 1001, 70, 30 }, 78 + { "dim outdoors", 5001, 80, 20 }, 79 + { "cloudy outdoors", 10001, 90, 10 }, 80 + { "sunlight", 30001, 100, 0 }, 74 81 }; 75 82 76 83 void xloop(void);