mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
feat: plugin layer namespace (#717)
This commit is contained in:
@@ -6,6 +6,8 @@ import qs.Widgets
|
|||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
property string layerNamespacePlugin: "plugin"
|
||||||
|
|
||||||
property var axis: null
|
property var axis: null
|
||||||
property string section: "center"
|
property string section: "center"
|
||||||
property var parentScreen: null
|
property var parentScreen: null
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ import qs.Widgets
|
|||||||
DankPopout {
|
DankPopout {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
layerNamespace: "dms-plugin:" + layerNamespacePlugin
|
||||||
|
|
||||||
WlrLayershell.keyboardFocus: shouldBeVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
|
WlrLayershell.keyboardFocus: shouldBeVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
|
||||||
|
|
||||||
property var triggerScreen: null
|
property var triggerScreen: null
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ import qs.Modules.Plugins
|
|||||||
PluginComponent {
|
PluginComponent {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
layerNamespacePlugin: "emoji-cycler"
|
||||||
|
|
||||||
property var enabledEmojis: pluginData.emojis || ["😊", "😢", "❤️"]
|
property var enabledEmojis: pluginData.emojis || ["😊", "😢", "❤️"]
|
||||||
property int cycleInterval: pluginData.cycleInterval || 3000
|
property int cycleInterval: pluginData.cycleInterval || 3000
|
||||||
property int maxBarEmojis: pluginData.maxBarEmojis || 3
|
property int maxBarEmojis: pluginData.maxBarEmojis || 3
|
||||||
|
|||||||
Reference in New Issue
Block a user