diff --git a/Services/DistroService.qml b/Services/DistroService.qml index 568bc2f0..0865cd52 100644 --- a/Services/DistroService.qml +++ b/Services/DistroService.qml @@ -14,6 +14,10 @@ Singleton { property bool isNixOS: false property bool isReady: false + function init() { + Logger.i("DistroService", "Service started") + } + // Internal helpers function buildCandidates(name) { const n = (name || "").trim() @@ -77,6 +81,8 @@ Singleton { return l ? l.split("=")[1].replace(/"/g, "") : "" } root.osPretty = val("PRETTY_NAME") || val("NAME") + Logger.i("DistroService", root.osPretty) + const osId = (val("ID") || "").toLowerCase() root.isNixOS = osId === "nixos" || (root.osPretty || "").toLowerCase().includes("nixos") const logoName = val("LOGO") diff --git a/shell.qml b/shell.qml index 645b1578..155ce72f 100644 --- a/shell.qml +++ b/shell.qml @@ -93,6 +93,7 @@ ShellRoot { BatteryService.init() IdleInhibitorService.init() PowerProfileService.init() + DistroService.init() } Background {}