mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Add ActiveWindow, make ColorScheme look better
This commit is contained in:
@@ -17,7 +17,6 @@ Singleton {
|
||||
property var hlWorkspaces: Hyprland.workspaces.values
|
||||
// Detect which compositor we're using
|
||||
Component.onCompleted: {
|
||||
console.log("[Workspaces] Initializing workspaces service")
|
||||
detectCompositor()
|
||||
}
|
||||
|
||||
@@ -25,25 +24,20 @@ Singleton {
|
||||
try {
|
||||
try {
|
||||
if (Hyprland.eventSocketPath) {
|
||||
console.log("[Workspaces] Detected Hyprland compositor")
|
||||
isHyprland = true
|
||||
isNiri = false
|
||||
initHyprland()
|
||||
return
|
||||
}
|
||||
} catch (e) {
|
||||
console.log("[Workspaces] Hyprland not available:", e)
|
||||
}
|
||||
|
||||
if (typeof Niri !== "undefined") {
|
||||
console.log("[Workspaces] Detected Niri service")
|
||||
isHyprland = false
|
||||
isNiri = true
|
||||
initNiri()
|
||||
return
|
||||
}
|
||||
|
||||
console.log("[Workspaces] Could not detect any supported compositor")
|
||||
} catch (e) {
|
||||
console.error("[Workspaces] Error detecting compositor:", e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user