aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-open/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-open/main.cpp b/src-qt5/core/lumina-open/main.cpp
index 7a7fef19..62a14f4c 100644
--- a/src-qt5/core/lumina-open/main.cpp
+++ b/src-qt5/core/lumina-open/main.cpp
@@ -349,7 +349,9 @@ int main(int argc, char **argv){
if(cmd.isEmpty()){ return 0; } //no command to run (handled internally)
qDebug() << "[lumina-open] Running Cmd:" << cmd;
int retcode = 0;
-
+ //Provide an override file for never watching running processes.
+ if(watch){ watch = !QFile::exists( QString(getenv("XDG_CONFIG_HOME"))+"/lumina-desktop/nowatch" ); }
+ //Do the slimmer run routine if no watching needed
if(!watch && path.isEmpty()){
//Nothing special about this one - just start it detached (less overhead)
QProcess::startDetached(cmd);
bgstack15