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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import qs.Common
|
||||
import qs.Services
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
Reference in New Issue
Block a user