diff options
Diffstat (limited to 'src-qt5/core/lumina-open')
-rw-r--r-- | src-qt5/core/lumina-open/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-open/main.cpp b/src-qt5/core/lumina-open/main.cpp index cd0e4d65..756bef25 100644 --- a/src-qt5/core/lumina-open/main.cpp +++ b/src-qt5/core/lumina-open/main.cpp @@ -39,6 +39,7 @@ void printUsageInfo(){ qDebug() << " \"-volume[up/down]\" Flag to increase/decrease audio volume by 5%"; qDebug() << " \"-brightness[up/down]\" Flag to increase/decrease screen brightness by 5%"; qDebug() << " \"-autostart-apps\" Flag to launch all the various apps which are registered with XDG autostart specification"; + qDebug() << "\"-terminal\" Flag to open the terminal currently set as the user's default"; exit(1); } @@ -212,6 +213,9 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat }else if( (QString(argv[i]).simplified() =="-action") && (argc>(i+1)) ){ ActionID = QString(argv[i+1]); i++; //skip the next input + }else if(QString(argv[i]).simplified()=="-terminal"){ + inFile = LXDG::findDefaultAppForMime("application/terminal"); + break; }else{ inFile = QString::fromLocal8Bit(argv[i]); break; |