autoformatting

This commit is contained in:
LemmyCook
2025-09-19 15:53:06 -04:00
parent 29b67f1337
commit 9236b2f00e
4 changed files with 118 additions and 112 deletions
+16 -15
View File
@@ -71,28 +71,29 @@ Singleton {
}
function setupBackendConnections() {
if (!backend) return
if (!backend)
return
// Connect backend signals to facade signals
backend.workspaceChanged.connect(() => {
// Sync workspaces when they change
syncWorkspaces()
// Forward the signal
workspaceChanged()
})
// Sync workspaces when they change
syncWorkspaces()
// Forward the signal
workspaceChanged()
})
backend.activeWindowChanged.connect(activeWindowChanged)
backend.windowListChanged.connect(() => {
// Sync windows when they change
windows = backend.windows
// Forward the signal
windowListChanged()
})
// Sync windows when they change
windows = backend.windows
// Forward the signal
windowListChanged()
})
// Property bindings
backend.focusedWindowIndexChanged.connect(() => {
focusedWindowIndex = backend.focusedWindowIndex
})
focusedWindowIndex = backend.focusedWindowIndex
})
// Initial sync
syncWorkspaces()
@@ -166,4 +167,4 @@ Singleton {
function suspend() {
Quickshell.execDetached(["systemctl", "suspend"])
}
}
}