New comment by CameronNemo on void-packages repository https://github.com/void-linux/void-packages/issues/13306#issuecomment-514855772 Comment: You can do this with xidle and a brightness utility like brillo or brightnessctl.