mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-27 13:37:48 -04:00
shell: fix lints
This commit is contained in:
1 parent
b938dd76f0
commit
5f9f66ca59
5 files changed
+117
-119
No files matched your search
+10
-12
@@ -892,7 +892,7 @@ Item {
|
||||
target: DMSService
|
||||
function onOpenUrlRequested(url) {
|
||||
if (url.startsWith("dms://theme/install/")) {
|
||||
var themeId = url.replace("dms://theme/install/", "").split(/[?#]/)[0];
|
||||
const themeId = url.replace("dms://theme/install/", "").split(/[?#]/)[0];
|
||||
if (themeId) {
|
||||
PopoutService.pendingThemeInstall = themeId;
|
||||
PopoutService.openSettingsWithTab("theme");
|
||||
@@ -900,7 +900,7 @@ Item {
|
||||
return;
|
||||
}
|
||||
if (url.startsWith("dms://plugin/install/")) {
|
||||
var pluginId = url.replace("dms://plugin/install/", "").split(/[?#]/)[0];
|
||||
const pluginId = url.replace("dms://plugin/install/", "").split(/[?#]/)[0];
|
||||
if (pluginId) {
|
||||
PopoutService.pendingPluginInstall = pluginId;
|
||||
PopoutService.openSettingsWithTab("plugins");
|
||||
@@ -960,8 +960,6 @@ Item {
|
||||
|
||||
active: false
|
||||
|
||||
Component.onCompleted: PopoutService.workspaceRenameModalLoader = workspaceRenameModalLoader
|
||||
|
||||
WorkspaceRenameModal {
|
||||
id: workspaceRenameModal
|
||||
}
|
||||
@@ -1238,16 +1236,16 @@ Item {
|
||||
}
|
||||
|
||||
DMSShellIPC {
|
||||
powerMenuModalLoader: powerMenuModalLoader
|
||||
processListModalLoader: processListModalLoader
|
||||
controlCenterLoader: controlCenterLoader
|
||||
dankDashPopoutLoader: dankDashPopoutLoader
|
||||
notepadSlideoutVariants: notepadSlideoutVariants
|
||||
hyprKeybindsModalLoader: hyprKeybindsModalLoader
|
||||
powerMenuModalLoaderRef: powerMenuModalLoader
|
||||
processListModalLoaderRef: processListModalLoader
|
||||
controlCenterLoaderRef: controlCenterLoader
|
||||
dankDashPopoutLoaderRef: dankDashPopoutLoader
|
||||
notepadSlideoutVariantsRef: notepadSlideoutVariants
|
||||
hyprKeybindsModalLoaderRef: hyprKeybindsModalLoader
|
||||
dankBarRepeater: root.core?.dankBarRepeater ?? null
|
||||
hyprlandOverviewLoader: root.core?.hyprlandOverviewLoader ?? null
|
||||
workspaceRenameModalLoader: workspaceRenameModalLoader
|
||||
windowRuleModalLoader: windowRuleModalLoader
|
||||
workspaceRenameModalLoaderRef: workspaceRenameModalLoader
|
||||
windowRuleModalLoaderRef: windowRuleModalLoader
|
||||
}
|
||||
|
||||
Variants {
|
||||
|
||||
Reference in new issue
Block a user