Commit graph

48 commits

Author SHA1 Message Date
steel99xl
5eeae81ebe
Update README.md 2023-12-24 17:27:05 -05:00
steel99xl
e6807f6dce Minor performance improvments 2023-12-24 16:45:42 -05:00
steel99xl
a9d2623851 Minor cleanup 2023-12-24 14:39:29 -05:00
steel99xl
d05bf0244f Inital automatic setup of the AB service 2023-12-24 14:28:01 -05:00
steel99xl
5bb0c72b5d
Update README.md
specify initial difference
2023-12-24 13:19:24 -05:00
steel99xl
cd10ecf94e
Merge pull request #4 from Theluga/branch-to-pull-request-main-fork
Adding new script and service example
2023-12-21 16:10:43 -05:00
Theluga
0fb675b825
als autodetection working
Now it will always use the first als found on the system. Auto detection if only 1 such device exists
2023-12-21 18:39:10 +00:00
Theluga
4a4db6e2be
Update autobrightness.sh
Now it saves the path to the variable after detecting the correct path
2023-12-21 18:11:08 +00:00
steel99xl
07e9284ec4
minor update autobrightness.sh
The only possible issue I could see with the * in the iio device is if you have 2 sensors, also I'm not 100% sure if it has to check each iio device every time the value is called
2023-12-21 12:50:47 -05:00
Theluga
346577c270
Update autobrightness.sh
default sensitivity to use.
2023-12-19 17:04:06 +00:00
Theluga
78f3c14ed9
Update README.md
Dell Inspiron 7359 updated
2023-12-19 16:06:28 +00:00
Theluga
d04075c5e5
Rename autobright.service to AutomaticBrightness.service
changing name to generic
2023-12-19 16:03:27 +00:00
Theluga
0d1e5e5c14
Update autobright.service
Changed Systemd service example from: https://github.com/wagensveld/Mac-like-automatic-brightness

without my system specif paths
2023-12-19 16:02:00 +00:00
Theluga
39ff5f9d8b
Improved sensor detection and more
Removed nonsensical function, 
improved sensor detection with * : very important when you have multiple sensors that are changing device order when booting
improved user configurable variable on the top of scrip
detecting minimum illuminance to set minimum brightness inside the loop (now brightness key works)
2023-12-19 12:51:50 -03:00
Theluga
c7bf35cf26
Merge branch 'steel99xl:main' into branch-to-pull-request-main-fork 2023-12-19 12:45:36 -03:00
steel99xl
4a5163e51c
New Laptop in table
DELL inspiration 7359 information 
(Table is getting larger update latter)
2023-12-17 10:58:29 -05:00
steel99xl
ffeec117ea
fixed typo 2023-12-17 10:36:09 -05:00
Theluga
4e6c8ee256
fixing typo adding new script and service example
I figure out how to proper pull haha sorry for the confusion

The darker mode, when the illuminance is less than 1 i.e. 0, it will go to the target brightness that is 1. The target can be easily changed.

If the file AB.offset have 0 as value. Darker mode is activated and setting brightness will reset to target value 1 when illuminance is less than 1. if the file has value of 1, it will be the normal mode and the screen brightness can be adjusted until the illuminance sensor changes.

easier to change variables and places and chmod 666 /tmp/AB.offset for the user to change modes when script is running as root (systemd service) darker mode as default with normal mode done by typing "echo 1 > /tmp/AB.offset"

they are in autobrightness.sh
2023-12-17 14:17:55 +00:00
steel99xl
1cd755cab8
CPU priority levels
By default the priority level is set to 19 (the normal lowest priority a non-root user can set in Linux)
thank you for the suggestion and input Theluga.
2023-12-16 14:33:59 -05:00
steel99xl
feb40c1845
Update README.md 2023-10-07 16:39:54 -04:00
steel99xl
a9d935789c
Update AutomaticBrightness.sh
improved comparison
2023-10-07 14:40:48 -04:00
steel99xl
2edaa5c922
Update README.md 2023-10-07 14:26:32 -04:00
steel99xl
7feec2dc38
New Controls 2023-10-07 14:14:40 -04:00
steel99xl
66d2ae141c
New controls 2023-10-07 14:13:56 -04:00
steel99xl
d43baea443
Add files via upload 2023-10-06 21:44:48 -04:00
steel99xl
9ae30173ee
Update AutomaticBrightness.sh 2023-10-06 21:33:30 -04:00
steel99xl
144bf3f876
Add files via upload 2023-10-06 21:28:13 -04:00
steel99xl
6008611424
Update README.md 2023-10-06 21:18:44 -04:00
steel99xl
acb72c3269
Minimum brightness change thresh hold 2023-10-06 21:15:32 -04:00
steel99xl
78eb04caf7
Update AutomaticBrightness.sh 2023-10-04 17:23:02 -04:00
steel99xl
c2e20068c7
Add files via upload 2023-10-04 17:22:42 -04:00
steel99xl
5eb7515ce4
Update README.md 2023-10-04 17:20:22 -04:00
steel99xl
68b08c7a3a
spelling issue 2023-09-24 17:29:31 -04:00
steel99xl
2bb237e1e1
spelling issue 2023-09-24 17:29:11 -04:00
steel99xl
a12e7df000
Controls
Explication of controls
2023-09-24 17:26:22 -04:00
steel99xl
bdd782d69d
Stop,Start,Kill
Now you can Stop, Start or even Kill the script by simply putting a file in /tmp
2023-09-24 17:22:54 -04:00
steel99xl
56d82d35d2
Sensor Chart
Started a simple and small chart to track different framework brightness sensors and minimum required setting to get  functionality that matches a macbook
2023-09-24 15:51:33 -04:00
steel99xl
883b0454dd
Update README.md 2022-11-01 09:44:59 -04:00
steel99xl
367d8979b6
Update README.md 2022-11-01 09:43:58 -04:00
steel99xl
7afaf15db1
Update README.md 2022-11-01 09:37:00 -04:00
steel99xl
79d3c43aa5
Update README.md 2022-10-31 21:00:55 -04:00
steel99xl
a5da428d22
Update README.md 2022-10-31 20:49:22 -04:00
steel99xl
f21e198eee
Update README.md 2022-10-31 18:47:36 -04:00
steel99xl
c5390d8ca5
Config Explianed 2022-10-31 18:46:37 -04:00
steel99xl
f9d782fb0e
Update README.md 2022-09-24 18:05:19 -04:00
steel99xl
cc13862a9c
Add files via upload 2022-09-24 13:50:50 -04:00
steel99xl
155f6f0143
Update README.md 2022-09-24 13:50:22 -04:00
steel99xl
a8d07e5434
Initial commit 2022-09-24 13:49:59 -04:00