add gtk3 config
[~bandali/configs] / other / systemd / mba6x-backlight.service
CommitLineData
eb690e73
AB
1# copy to /usr/lib/systemd/system/ (at least on Arch Linux)
2
3[Unit]
4Description=Load/Save Screen Backlight Brightness of backlight:mba6x_backlight
5DefaultDependencies=no
6RequiresMountsFor=/var/lib/systemd/backlight
7Conflicts=shutdown.target
8After=systemd-remount-fs.service
9Before=sysinit.target shutdown.target
10
11[Service]
12Type=oneshot
13RemainAfterExit=yes
14ExecStart=/usr/lib/systemd/systemd-backlight load backlight:mba6x_backlight
15ExecStop=/usr/lib/systemd/systemd-backlight save backlight:mba6x_backlight
16
17[Install]
18WantedBy=multi-user.target