diff options
-rw-r--r-- | libLumina/LuminaOS-OpenBSD.cpp | 2 |
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 |