plasmoides KDE Store/GitHub (gnome-pager, kMenu, kvitals, windowtitle, claude, launchpad)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.configuration
|
||||
|
||||
ConfigModel {
|
||||
ConfigCategory {
|
||||
name: i18n("General")
|
||||
icon: "preferences-desktop-plasma"
|
||||
source: "config/ConfigGeneral.qml"
|
||||
}
|
||||
ConfigCategory {
|
||||
name: i18n("Edit Menu")
|
||||
icon: "application-menu"
|
||||
source: "config/ConfigMenuJson.qml"
|
||||
}
|
||||
ConfigCategory {
|
||||
name: i18n("Edit JSON")
|
||||
icon: "code-context"
|
||||
source: "config/ConfigEditJson.qml"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
||||
<kcfgfile name=""/>
|
||||
|
||||
<group name="General">
|
||||
<entry name="icon" type="String">
|
||||
<label>The name of the icon to use for the compact representation (e.g. on a small panel).</label>
|
||||
<default>start-here-kde-symbolic</default>
|
||||
</entry>
|
||||
<entry name="useCustomButtonImage" type="Bool">
|
||||
<label>Whether to use a custom image instead of an icon in the compact representation (e.g. on a small panel).</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="customButtonImage" type="Url">
|
||||
<label>The URL of the custom image to use instead of an icon in the compact representation (e.g. on a small panel).</label>
|
||||
<default></default>
|
||||
</entry>
|
||||
<entry name="showIcons" type="Bool">
|
||||
<label>Whether to show icons in the menu.</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="menuWidth" type="Int">
|
||||
<label>Width of the menu dropdown in pixels. Use 0 for default width.</label>
|
||||
<default>240</default>
|
||||
</entry>
|
||||
<entry name="buttonHeight" type="Int">
|
||||
<label>Height of each menu item (button) in pixels. Use 0 for default height.</label>
|
||||
<default>28</default>
|
||||
</entry>
|
||||
<entry name="menuJson" type="String">
|
||||
<label>JSON object defining the menu structure. Each item can have: name, icon, command, submenu (array of items), separator (bool).</label>
|
||||
<default>[
|
||||
{
|
||||
"name": "About This Computer",
|
||||
"icon": "help-hint",
|
||||
"command": "kinfocenter"
|
||||
},
|
||||
{
|
||||
"separator": true
|
||||
},
|
||||
{
|
||||
"name": "System Preferences...",
|
||||
"icon": "settings-configure",
|
||||
"command": "systemsettings"
|
||||
},
|
||||
{
|
||||
"name": "App Store...",
|
||||
"icon": "update-none",
|
||||
"command": "plasma-discover"
|
||||
},
|
||||
{
|
||||
"separator": true
|
||||
},
|
||||
{
|
||||
"name": "Force Quit...",
|
||||
"icon": "error",
|
||||
"command": "xkill"
|
||||
},
|
||||
{
|
||||
"separator": true
|
||||
},
|
||||
{
|
||||
"name": "Sleep",
|
||||
"icon": "system-suspend",
|
||||
"command": "systemctl suspend"
|
||||
},
|
||||
{
|
||||
"name": "Restart...",
|
||||
"icon": "system-reboot",
|
||||
"command": "qdbus org.kde.LogoutPrompt /LogoutPrompt promptReboot"
|
||||
},
|
||||
{
|
||||
"name": "Shut Down...",
|
||||
"icon": "system-shutdown",
|
||||
"command": "qdbus org.kde.LogoutPrompt /LogoutPrompt promptShutDown"
|
||||
},
|
||||
{
|
||||
"separator": true
|
||||
},
|
||||
{
|
||||
"name": "Lock Screen",
|
||||
"icon": "system-lock-screen",
|
||||
"command": "qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock"
|
||||
},
|
||||
{
|
||||
"name": "Log Out",
|
||||
"icon": "system-log-out",
|
||||
"command": "qdbus org.kde.LogoutPrompt /LogoutPrompt promptLogout"
|
||||
}
|
||||
]</default>
|
||||
</entry>
|
||||
|
||||
</group>
|
||||
</kcfg>
|
||||
|
||||
Reference in New Issue
Block a user