1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-12 07:19:41 -04:00

feat(SystemUpdate): Implement system update IPC commands

This commit is contained in:
purian23
2026-05-08 21:00:23 -04:00
parent d8835f2bc6
commit 6167f22837
6 changed files with 104 additions and 32 deletions

View File

@@ -304,7 +304,8 @@ Singleton {
function openSystemUpdate(x, y, width, section, screen) {
if (systemUpdatePopout) {
setPosition(systemUpdatePopout, x, y, width, section, screen);
if (arguments.length >= 5)
setPosition(systemUpdatePopout, x, y, width, section, screen);
systemUpdatePopout.open();
}
}
@@ -322,7 +323,8 @@ Singleton {
function toggleSystemUpdate(x, y, width, section, screen) {
if (systemUpdatePopout) {
setPosition(systemUpdatePopout, x, y, width, section, screen);
if (arguments.length >= 5)
setPosition(systemUpdatePopout, x, y, width, section, screen);
systemUpdatePopout.toggle();
}
}

View File

@@ -5,6 +5,7 @@ import QtQuick
import Quickshell
import Quickshell.Io
import qs.Common
import qs.Services
Singleton {
id: root