Breaking zshell: toggle-launcher globalshortcut fix

This commit is contained in:
2026-05-11 19:41:56 +02:00
parent bfc09c71a8
commit 37a112a04b
+3 -2
View File
@@ -14,11 +14,12 @@ Scope {
description: "Toggle launcher"
name: "toggle-launcher"
onPressed: root.launcherInterrupted = false
onReleased: {
onPressed: {
root.launcherInterrupted = false;
if (!root.launcherInterrupted && !root.hasFullscreen) {
const visibilities = Visibilities.getForActive();
visibilities.launcher = !visibilities.launcher;
console.log(root.launcherInterrupted);
}
root.launcherInterrupted = false;
}