aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-xconfig/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/main.cpp')
-rw-r--r--src-qt5/core-utils/lumina-xconfig/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/main.cpp b/src-qt5/core-utils/lumina-xconfig/main.cpp
index 64c70cfc..0508692b 100644
--- a/src-qt5/core-utils/lumina-xconfig/main.cpp
+++ b/src-qt5/core-utils/lumina-xconfig/main.cpp
@@ -22,6 +22,14 @@ int main(int argc, char ** argv)
RRSettings::MirrorAll();
CLIdone = true;
break;
+ }else if(QString(argv[i]) == "--list-profiles"){
+ qDebug() << RRSettings::savedProfiles().join("\n");
+ CLIdone = true;
+ break;
+ }else if(QString(argv[i]) == "--apply-profile" && argc > (i+1) ){
+ RRSettings::ApplyProfile( QString(argv[i+1]) );
+ CLIdone = true;
+ break;
}
}
if(CLIdone){ return 0; }
bgstack15