quickshell overview starting work

This commit is contained in:
ari committed 2026-08-31 11:22:54 -04:00
1 parent 3c86efa4ff
commit fdca7d8d9d
21 files changed
+580 -272

No files matched your search

@@ -0,0 +1,37 @@
import Quickshell
import Quickshell.Io
// Scrolling overview for Hyprland — vertical stack of workspace rows on the
// current monitor, each row a horizontal strip of that workspace's windows.
// Toggle with `qs -c overview ipc call overview <toggle|open|close>`; wired
// to Mod+Tab and a 4-finger swipe in the Hyprland config.
ShellRoot {
id: shell
property bool overviewOpen: false
IpcHandler {
target: "overview"
function toggle(): void {
shell.overviewOpen = !shell.overviewOpen;
}
function open(): void {
shell.overviewOpen = true;
}
function close(): void {
shell.overviewOpen = false;
}
}
Variants {
model: Quickshell.screens
OverviewWindow {
required property var modelData
screen: modelData
shellOpen: shell.overviewOpen
onRequestClose: shell.overviewOpen = false
}
}
}