From 63b8e1b07e725384e4c8323af7f3e63600721a82 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Sun, 24 Sep 2023 19:44:02 +0200 Subject: initial Signed-off-by: Anna (navi) Figueiredo Gomes --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..92fd853 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# sway window hider daemon + +automatically hides windows, by looking into /proc. + +when a new window is spawned in sway, it looks for the pid, +and recursivelly looks for parent pids until it finds the +terminal listed, or init. in the case it finds the terminal, +it sends any windows attached to that pid to the scratchpad, +and marks the window hidden with the pid of the new process. + +once a window closes, it sees if any scratchpad windows have +that pid marked, and if so, unhides them. -- cgit v1.2.3