From 79d3be64f0a3e4552b08c80f1678649ccbff2a7c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 11 Nov 2026 10:01:11 +0100 Subject: feat(windows): a new window brings the Windows tab forward When a window id appears that the last poll did not list, the tablet shows the Windows tab for [windows] peek seconds (default 8, 0 off) and then goes back to the tab it was on. A touch on the page or a tab change meanwhile keeps it there; another new window restarts the timer. The hook is generic: a panel's peek(state) returns seconds, app.js does the switching. The first poll only learns what is open, and an error state keeps what it knew, so neither triggers it. Co-Authored-By: Claude Opus 5.5 --- config.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.toml') diff --git a/config.toml b/config.toml index e5bc329..5b84411 100644 --- a/config.toml +++ b/config.toml @@ -91,6 +91,9 @@ face = [] workspace_icons = "~/Programming/GIT/quickshell/shared/Workspaces.qml" # Workspaces shown on the Windows tab, including empty ones. workspaces = [1, 2, 3, 4, 5, 6, 7, 8] +# Seconds the tablet shows this tab when a window opens, then goes back +# unless touched. 0 turns it off. +peek = 8 [icons] # Launcher icons follow the icon theme Keystone sets (gsettings -- cgit v1.2.3