Commit graph

3 commits

Author SHA1 Message Date
Theluga
cb3ce646c7
better explanation and implementation
better explained code of darker mode as default with default done by typing "echo 1 > /tmp/AB.offset"
since this scrip is running as root on my machine, added chmod to edit AB.offset values as user.
2023-12-17 04:41:41 +00:00
Theluga
9f69672f64
give r+w permission to any user on offset reduce brightness to less 1 2023-12-16 13:48:27 +00:00
Theluga
a1107f5433
less cpu usage and set 1 as the final value
if sensor is less than 3, sets to 1.
if xfce brightness bug puts actual_brightness to 0, it will goes to 1 with less than 3 in anbient or more with greater than 3 anbient..

add service in :"/etc/systemd/system/" to auto start and auto restart if broken in e.g. suspend. Works even in the greeter.
2023-12-16 04:23:01 +00:00