Skip to content

Brightness value limited to 9999.99 #12

@heluca

Description

@heluca

Lenovo A940 doesn't have a light sensor, so I love this app, but the max brightness value of 9999 set the display brightness to under 10%.

The '''cat /sys/class/backlight/intel_backlight/max_brightness''' output is 120000

The maximum value allowed by the eyesome-cfg.sh is 9999, so I edited lines 118 & 126 to '''MonPage+=("${CfgArr[$((i++))]}"!0.1..120000!.01!2)'''

120000 and it works as expected. I'm not sure if it's worth the effort for the config script to pull the max value automatically, but at the very least, an FYI in case someone else runs into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions