summarylogtreecommitdiffstats
path: root/zero_brightness_fixer.service
diff options
context:
space:
mode:
Diffstat (limited to 'zero_brightness_fixer.service')
-rw-r--r--zero_brightness_fixer.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/zero_brightness_fixer.service b/zero_brightness_fixer.service
new file mode 100644
index 00000000000..2c66d793172
--- /dev/null
+++ b/zero_brightness_fixer.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Ensures that backlight brightness doesn't go below minimal value
+After=systemd-modules-load.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/zero_brightness_fixer /sys/class/backlight/intel_backlight/brightness 4 14
+
+[Install]
+WantedBy=multi-user.target