Cleanup all the console.log
Also renamed Github to GitHub
This commit is contained in:
parent
f62a0e5f83
commit
0d196b2917
11 changed files with 47 additions and 47 deletions
|
|
@ -17,7 +17,7 @@ Singleton {
|
|||
property var hlWorkspaces: Hyprland.workspaces.values
|
||||
// Detect which compositor we're using
|
||||
Component.onCompleted: {
|
||||
console.log("WorkspaceManager initializing...")
|
||||
console.log("[WS] Initializing workspaces service")
|
||||
detectCompositor()
|
||||
}
|
||||
|
||||
|
|
@ -25,27 +25,27 @@ Singleton {
|
|||
try {
|
||||
try {
|
||||
if (Hyprland.eventSocketPath) {
|
||||
console.log("Detected Hyprland compositor")
|
||||
console.log("[WS] Detected Hyprland compositor")
|
||||
isHyprland = true
|
||||
isNiri = false
|
||||
initHyprland()
|
||||
return
|
||||
}
|
||||
} catch (e) {
|
||||
console.log("Hyprland not available:", e)
|
||||
console.log("[WS] Hyprland not available:", e)
|
||||
}
|
||||
|
||||
if (typeof Niri !== "undefined") {
|
||||
console.log("Detected Niri service")
|
||||
console.log("[WS] Detected Niri service")
|
||||
isHyprland = false
|
||||
isNiri = true
|
||||
initNiri()
|
||||
return
|
||||
}
|
||||
|
||||
console.log("No supported compositor detected")
|
||||
console.log("[WS] Could not detect any supported compositor")
|
||||
} catch (e) {
|
||||
console.error("Error detecting compositor:", e)
|
||||
console.error("[WS] Error detecting compositor:", e)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ Singleton {
|
|||
}
|
||||
workspacesChanged()
|
||||
} catch (e) {
|
||||
console.error("Error updating Hyprland workspaces:", e)
|
||||
console.error("[WS] Error updating Hyprland workspaces:", e)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue