aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-OpenBSD.cpp
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@gnome.org>2014-10-15 09:28:41 +0200
committerAntoine Jacoutot <ajacoutot@gnome.org>2014-10-15 09:28:41 +0200
commit1c81a88fd8f05c806e09c72a34099e94bb25b8f7 (patch)
tree78acdaff7bceec5519558da73878309041efa94f /libLumina/LuminaOS-OpenBSD.cpp
parentFix broken lumina pkg-plist (diff)
downloadlumina-1c81a88fd8f05c806e09c72a34099e94bb25b8f7.tar.gz
lumina-1c81a88fd8f05c806e09c72a34099e94bb25b8f7.tar.bz2
lumina-1c81a88fd8f05c806e09c72a34099e94bb25b8f7.zip
OpenBSD setScreenBrightness: make the brightness change smoother
Diffstat (limited to 'libLumina/LuminaOS-OpenBSD.cpp')
-rw-r--r--libLumina/LuminaOS-OpenBSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-OpenBSD.cpp b/libLumina/LuminaOS-OpenBSD.cpp
index 34ae713c..df6bcda7 100644
--- a/libLumina/LuminaOS-OpenBSD.cpp
+++ b/libLumina/LuminaOS-OpenBSD.cpp
@@ -65,7 +65,7 @@ void LOS::setScreenBrightness(int percent){
if(percent<0){percent=0;}
else if(percent>100){ percent=100; }
//Run the command
- QString cmd = "xbacklight -set %1";
+ QString cmd = "xbacklight -time 0 -steps 1 -set %1";
cmd = cmd.arg( QString::number(percent) );
int ret = LUtils::runCmd(cmd);
//Save the result for later
bgstack15