maximbaz / wluma

Automatic brightness adjustment based on screen contents and ALS
ISC License
665 stars 28 forks source link

[Bug]: No such file or directory #78

Closed newyorkthink closed 1 year ago

newyorkthink commented 1 year ago

Steps for reproducing the issue

image

What is the buggy behavior?

image

What is the expected behavior?

image

Logs

RUST_LOG=debug wluma

Version

image

Environment

lsb_release -a; uname -a; pgrep -l sway; pacman -Q | egrep "(wlroots|vulkan|sway|clang|rust)"; dpkg -l | egrep "(wlroots|vulkan|sway|clang|rust)"
maximbaz commented 1 year ago

Please fill out the issue template, I have no idea what you mean

cyrinux commented 1 year ago

@newyorkthink you dont have a iio device.

Looks like you don't have a light sensors device. So you hace to use the als webcam or none mode.

[als.webcam]
video = 0
thresholds = { 0 = "night", 15 = "dark", 30 = "dim", 45 = "normal", 60 = "bright", 75 = "outdoors" }

# [als.none]

Please try to be more verbose the next time. And fill well the issue according to the template.

maximbaz commented 1 year ago

I hope this helped, will close as not-actionable, but do feel free to comment if you have further questions! And thanks @cyrinux for the helpful snippet :wink: