Switched to qmlformat.

This commit is contained in:
ItsLemmy
2025-11-16 17:07:03 -05:00
parent 32905224b9
commit 3ff5b7639f
223 changed files with 9970 additions and 9658 deletions
+10 -11
View File
@@ -5,12 +5,11 @@ import Quickshell
import Quickshell.Services.SystemTray
import qs.Commons
/**
* SystemTrayService
* This service ensures that Quickshell's SystemTray service is initialized
* early in the shell startup to avoid programs that should stay in tray, not having access to one (let's hope this works).
*/
* SystemTrayService
* This service ensures that Quickshell's SystemTray service is initialized
* early in the shell startup to avoid programs that should stay in tray, not having access to one (let's hope this works).
*/
Singleton {
id: root
@@ -18,23 +17,23 @@ Singleton {
Component.onCompleted: {
if (SystemTray && SystemTray.items) {
Logger.i("SystemTrayService", "SystemTray service initialized")
initialized = true
Logger.i("SystemTrayService", "SystemTray service initialized");
initialized = true;
// Monitor for tray items to confirm it's working
if (SystemTray.items.valuesChanged) {
Logger.d("SystemTrayService", "SystemTray is ready and monitoring for items")
Logger.d("SystemTrayService", "SystemTray is ready and monitoring for items");
}
} else {
Logger.w("SystemTrayService", "SystemTray service not available")
Logger.w("SystemTrayService", "SystemTray service not available");
}
}
function init() {
// Explicit initialization function
if (!initialized && SystemTray && SystemTray.items) {
Logger.i("SystemTrayService", "SystemTray service initialized via init()")
initialized = true
Logger.i("SystemTrayService", "SystemTray service initialized via init()");
initialized = true;
}
}
}