[Unit] Description=Set default screen brightness After=graphical-session.target ConditionPathExistsGlob=/sys/class/backlight/* PartOf=graphical-session.target [Service] Type=oneshot ExecStart=%h/.local/bin/set-brightness-default TimeoutStartSec=30 [Install] WantedBy=graphical-session.target