aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/LPlugins.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core-utils/lumina-config/LPlugins.cpp')
-rw-r--r--src-qt5/core-utils/lumina-config/LPlugins.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-config/LPlugins.cpp b/src-qt5/core-utils/lumina-config/LPlugins.cpp
index 03490216..cf0c11ac 100644
--- a/src-qt5/core-utils/lumina-config/LPlugins.cpp
+++ b/src-qt5/core-utils/lumina-config/LPlugins.cpp
@@ -58,6 +58,7 @@ LPI LPlugins::colorInfo(QString item){
//===================
// PLUGINS
//===================
+// PANEL PLUGINS
void LPlugins::LoadPanelPlugins(){
PANEL.clear();
//User Button
@@ -167,6 +168,7 @@ void LPlugins::LoadPanelPlugins(){
PANEL.insert(info.ID, info);
}
+// DESKTOP PLUGINS
void LPlugins::LoadDesktopPlugins(){
DESKTOP.clear();
//Calendar Plugin
@@ -232,6 +234,7 @@ void LPlugins::LoadDesktopPlugins(){
}*/
}
+// MENU PLUGINS
void LPlugins::LoadMenuPlugins(){
MENU.clear();
//Terminal
@@ -283,6 +286,13 @@ void LPlugins::LoadMenuPlugins(){
info.ID = "app";
info.icon = "application-x-desktop";
MENU.insert(info.ID, info);
+ //Custom Apps
+ info = LPI(); //clear it
+ info.name = QObject::tr("Menu Script");
+ info.description = QObject::tr("Run an external script to generate a menu");
+ info.ID = "jsonmenu";
+ info.icon = "text-x-script";
+ MENU.insert(info.ID, info);
}
void LPlugins::LoadColorItems(){
bgstack15