Ishaaq
8593bbf05e
Fix some english typos
2025-03-17 20:20:13 +00:00
steel99xl
83f9147362
Improved Range
...
Improved the effective amount of distinct brightness levels by 5x
*You can lower LevelSteps to get more distinct levels but you will need to change the AnimationDelay to compensate
2025-01-06 19:46:33 -05:00
steel99xl
0e6a16ae82
forgot to use LC_NUMERIC
2024-08-06 16:02:09 -04:00
steel99xl
4c1a595430
Fixed Error
2024-08-06 15:58:00 -04:00
steel99xl
ebd17c5d38
Update README.md
...
Now with information on how to easily update the script and service with a new version or one your have modified
2024-08-06 15:35:19 -04:00
steel99xl
d9bf724579
Merge branch 'main' of github.com:steel99xl/Mac-like-automatic-brightness
2024-08-06 15:26:06 -04:00
steel99xl
e45c4bf0ef
MinimumBrightness is now closer to representing the % of brightness
...
still to be improved, but currently no good way to get the max sensor brightness wightout saving it during the calibration
2024-08-06 15:22:59 -04:00
steel99xl
cc1d45195c
Merge pull request #9 from Harfeur/main
...
Fixed two issues: printf float and execute permission
2024-04-19 15:35:25 -04:00
Maxime Chourré
e15c2060a6
Add execute permission to script
...
If the file is not executable, the service system will not load it, and will return a 203/EXEC error (file not found).
2024-04-18 08:39:01 +02:00
Maxime Chourré
031a86d73b
Changed printf LANG to LC_NUMERIC
...
It was displaying an error almost every time : invalid number float
2024-04-18 08:36:24 +02:00
steel99xl
b4948cf46f
LevelSetps now automaticaly configurs based on your maxbrighrness
...
if needed (this is to keep it close to how a 2017 macbook pro behaves even with a limited range)
2024-03-15 23:39:09 -04:00
steel99xl
894893943c
Merge branch 'main' of github.com:steel99xl/Mac-like-automatic-brightness
2024-02-28 13:29:40 -05:00
steel99xl
87152562cf
fixed requierments
2024-02-28 13:24:12 -05:00
steel99xl
9579c90d62
Fixed setup.sh
...
awk in setup.sh was not capturing the correct feild
cleanded up floating point in AutomaticBrightness.sh
2024-02-28 13:22:40 -05:00
steel99xl
e86c09aad6
Update README.md
2024-02-18 22:14:36 -05:00
steel99xl
c1dcd48280
Update README.md
2024-02-18 22:14:01 -05:00
steel99xl
1a919d6299
Dependancyfree
...
Now without brightnessctl dependancy
2024-02-18 22:11:43 -05:00
steel99xl
e8daf94cda
Now with the notes from the debug versoin
2024-02-10 11:47:06 -05:00
steel99xl
7635064471
setup.sh now automatically configures your SensorToDisplayScale and writes it to AutomaticBrightness.sh
...
setup.sh now can update your service and script file along with restarting the service
2024-02-10 11:10:12 -05:00
steel99xl
1b0997474f
SensorToDisplayScale now supports floats
...
A 5 second delay was added to the startup. Dew to reports of the service starting before the system values are initalized
2024-02-10 09:33:03 -05:00
steel99xl
be0a1c71a2
Fixed edge case
2024-01-08 19:36:05 -05:00
steel99xl
c526025584
Merge pull request #7 from steel99xl/System-Service
...
System service support
2024-01-03 18:50:31 -05:00
steel99xl
d343bf2b61
Merge branch 'System-Service' of github.com:steel99xl/Mac-like-automatic-brightness into System-Service
2024-01-03 18:48:09 -05:00
steel99xl
21173c5eee
Auto Backlight and Sensor detection, Scale needs to be set manualy
2024-01-03 18:45:44 -05:00
steel99xl
1e0b3a01ca
Update README.md
2023-12-24 17:27:26 -05:00
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
10aa23e9fc
Delete autobrightness.sh
2023-12-24 14:43:25 -05:00
steel99xl
abbf398f07
Moved to System-Service fork
2023-12-24 14:43:09 -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