mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
qs: fix super key hold state properly
This commit is contained in:
@@ -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"} )
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user