From 85571430c45bf0e15e82460b7a8f4bb0c24bf707 Mon Sep 17 00:00:00 2001 From: Dhruva Sambrani <44899822+DhruvaSambrani@users.noreply.github.com> Date: Mon, 8 Jan 2024 15:41:47 +0100 Subject: [PATCH] update skipfocus --- skipfocus.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/skipfocus.md b/skipfocus.md index 22daff6..f1791ee 100644 --- a/skipfocus.md +++ b/skipfocus.md @@ -1,14 +1,16 @@ ### Description Adds a rule-based ability to skip automatically focusing a window on creation. Expected use-case is for transient windows like notifications etc. The window can still be focused by mouse or keyboard movement. +| `skipfocus` value | effect | +| ----------------- | ------------------ | +| 0 | usual | +| 1 | skipautofocus | +| 2 | skipfocus entirely | + ### Download -- [20240106](https://codeberg.org/dwl/dwl-patches/raw/branch/main/skipfocus/skipfocus.patch) +- [20240108](https://codeberg.org/dwl/dwl-patches/raw/branch/main/skipfocus/skipfocus.patch) - [git branch](https://codeberg.org/dhruva_sambrani/dwl/src/branch/skipfocus) -### Tips - -If you want to completely prevent a window from focusing, you can remove the line in `focusclient` where the client's `skipfocus` is set to 0. Beware, you will lose ALL ability to control the window. - ### Authors - [dhruva_sambrani](https://codeberg.org/dhruva_sambrani)