summarylogtreecommitdiffstats
path: root/zero_brightness_fixer.service
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak2019-03-25 02:19:16 +0100
committerSebastian Krzyszkowiak2019-03-25 02:19:16 +0100
commit4ec863b91a6cac661a208185f40bacd1e55bffbd (patch)
tree875660a1d5cc96a1ad522df89befc959876b7859 /zero_brightness_fixer.service
downloadaur-zero_brightness_fixer-git.tar.gz
initial commit
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