qs: fix super key hold state properly

This commit is contained in:
end-4
2026-05-12 12:07:33 +02:00
parent 1e442f1af0
commit c53e9891cb
2 changed files with 12 additions and 10 deletions
+2
View File
@@ -13,6 +13,8 @@ hl.bind("SUPER + SUPER_R", hl.dsp.exec_cmd(qsIsAlive.." || pkill fuzzel || fuzze
hl.bind("SUPER_L", hl.dsp.global("quickshell:workspaceNumber"), {ignore_mods = true, transparent = true} )
hl.bind("SUPER_R", hl.dsp.global("quickshell:workspaceNumber"), {ignore_mods = true, transparent = true} )
hl.bind("SUPER_L", hl.dsp.global("quickshell:workspaceNumber"), {ignore_mods = true, transparent = true, release = true} )
hl.bind("SUPER_R", hl.dsp.global("quickshell:workspaceNumber"), {ignore_mods = true, transparent = true, release = true} )
hl.bind("SUPER + Tab", hl.dsp.global("quickshell:overviewWorkspacesToggle"), {description = "Toggle overview"} )
hl.bind("SUPER + V", hl.dsp.global("quickshell:overviewClipboardToggle"), {description = "Clipboard history >> clipboard"} )
hl.bind("SUPER + Period", hl.dsp.global("quickshell:overviewEmojiToggle"), {description = "Emoji >> clipboard"} )
+10 -10
View File
@@ -38,15 +38,15 @@ Singleton {
}
}
// GlobalShortcut {
// name: "workspaceNumber"
// description: "Hold to show workspace numbers, release to show icons"
GlobalShortcut {
name: "workspaceNumber"
description: "Hold to show workspace numbers, release to show icons"
// onPressed: {
// root.superDown = true
// }
// onReleased: {
// root.superDown = false
// }
// }
onPressed: {
root.superDown = true
}
onReleased: {
root.superDown = false
}
}
}