1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

niri: generate colors, layout, binds

This commit is contained in:
bbedward
2025-09-30 11:14:36 -04:00
parent 37120776be
commit 287dda5675
4 changed files with 166 additions and 8 deletions

View File

@@ -82,6 +82,7 @@ Singleton {
Component.onCompleted: {
detectCompositor()
NiriService.generateNiriLayoutConfig()
}
function filterCurrentWorkspace(toplevels, screen) {
@@ -192,6 +193,7 @@ Singleton {
root.isHyprland = false
root.compositor = "niri"
console.log("CompositorService: Detected Niri with socket:", root.niriSocket)
NiriService.generateNiriBinds()
} else {
root.isHyprland = false
root.isNiri = true
@@ -200,4 +202,4 @@ Singleton {
}
}
}
}
}