aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/sensor.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 75d2085..6b8dc36 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ If none of these exists, it will create `~/.config/lead/lead.conf` with default
topRight=
Sensors have their own sections in the configuration, so if you want to add an action to a corner you can do so:
+
[eDP1]
bottomLeft=SensorName
@@ -83,6 +84,7 @@ If still your program doesn't run please check lead's output to get a better ide
In debug mode the screen names are shown on the top-left corner of each screen.
To enable the debug mode add the following section in the config file:
+
[systemsettings]
debug=1
diff --git a/src/sensor.cpp b/src/sensor.cpp
index e33a9ac..4789175 100644
--- a/src/sensor.cpp
+++ b/src/sensor.cpp
@@ -130,7 +130,7 @@ Sensor::activateEnter()
if (this->debugMode)
setStyleSheet ("background-color: green");
-
+
QProcess::startDetached(enterAction);
}