aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-09-24 19:44:02 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-09-24 19:47:51 +0200
commit63b8e1b07e725384e4c8323af7f3e63600721a82 (patch)
tree93ce80db469cb66a89b7763fd9e89e092e756ad5 /README.md
initial
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
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.