1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-13 00:42:49 -05:00

hyprland: some targeted improvements

This commit is contained in:
bbedward
2025-10-29 17:23:38 -04:00
parent 0569906f7c
commit 7ed0b752a8
3 changed files with 57 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ Singleton {
Process {
id: getKeybinds
running: true
running: false
command: [root.scriptPath, "--path", root.hyprConfigPath]
stdout: SplitParser {
@@ -31,9 +31,22 @@ Singleton {
}
}
}
onExited: (code) => {
if (code !== 0) {
console.warn("[HyprKeybindsService] Process exited with code:", code)
}
}
}
Component.onCompleted: {
getKeybinds.running = true
}
function reload() {
getKeybinds.running = true
getKeybinds.running = false
Qt.callLater(function() {
getKeybinds.running = true
})
}
}