diff --git a/autobrightness.sh b/autobrightness.sh index c3d2921..6248382 100644 --- a/autobrightness.sh +++ b/autobrightness.sh @@ -37,7 +37,7 @@ MonitorBrightness=/sys/class/backlight/intel_backlight/brightness #my sensor keep changing places, this way it will always be found with * if you have lots of sensors -AnbientSensorIlluminance=/sys/bus/iio/devices/iio:*/in_illuminance_raw +AnbientSensorIlluminance=`echo realpath /sys/bus/iio/devices/iio:*/in_illuminance_raw` while getopts i:d: flag; do