overview: left/right to switch ws

This commit is contained in:
end-4
2025-06-14 10:08:04 +02:00
parent f92718c391
commit 9a360a3009
@@ -99,6 +99,10 @@ Scope {
Keys.onPressed: (event) => {
if (event.key === Qt.Key_Escape) {
GlobalStates.overviewOpen = false;
} else if (event.key === Qt.Key_Left) {
if (!root.searchingText) Hyprland.dispatch("workspace r-1");
} else if (event.key === Qt.Key_Right) {
if (!root.searchingText) Hyprland.dispatch("workspace r+1");
}
}