summaryrefslogtreecommitdiffstats
path: root/src/backlight.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backlight.py')
-rw-r--r--src/backlight.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backlight.py b/src/backlight.py
index cde0ef5..f4a30d6 100644
--- a/src/backlight.py
+++ b/src/backlight.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (maandree@kth.se)
+# Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (m@maandree.se)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -94,6 +94,6 @@ class Backlight:
file.write(('%i\n' % (value + self.__minimum)).encode('utf-8'))
file.flush()
else:
- cmd = ['adjbacklight', self.__controller, '--set', str(value + self.__minimum)]
+ cmd = ['adjbacklight', '-s', str(value + self.__minimum), self.__controller]
Popen(cmd, stdout = sys.stdout, stderr = sys.stderr).wait()