aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Fiedler <git@bfiedler.ch>2021-09-06 15:28:05 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-09-07 12:30:53 +0000
commit5f6428bafe41da2c5df6c6cb12ff65c225260322 (patch)
tree11dd47b2b4e3f8271fc7bbfef3071ff6926f4759 /doc
parent98aed8d47e7f5dfc3fef6290deb18e2fac01a46d (diff)
downloadriver-5f6428bafe41da2c5df6c6cb12ff65c225260322.tar.gz
river-5f6428bafe41da2c5df6c6cb12ff65c225260322.tar.xz
river: Allow applying CSD based on window titles
This extends the `csd-filter-add` command to allow matching on window titles as well, using a `csd-filter-add kind pattern` syntax. The following kinds are supported: * `title`, which matches window titles * `app-id`, which matches app ids Only exact matches are considered. As an example following configuration applies client-side decorations to all windows with the title 'asdf with spaces'. riverctl csd-filter-add title 'asdf with spaces'
Diffstat (limited to 'doc')
-rw-r--r--doc/riverctl.1.scd18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd
index 68cbbb6..dcb2148 100644
--- a/doc/riverctl.1.scd
+++ b/doc/riverctl.1.scd
@@ -28,15 +28,15 @@ over the Wayland protocol.
*close*
Close the focused view.
-*csd-filter-add* _app-id_
- Add _app-id_ to the CSD filter list. Views with this _app-id_ are
- told to use client side decoration instead of the default server
- side decoration. Note that this affects both new views, as well as already
- existing ones.
-
-*csd-filter-remove* _app-id_
- Remove an _app-id_ from the CSD filter list. Note that this affects both new
- views, as well as already existing ones.
+*csd-filter-add* *app-id*|*title* _pattern_
+ Add _pattern_ to the CSD filter list. Views with this _pattern_ are told to
+ use client side decoration instead of the default server side decoration.
+ Note that this affects new views as well as already existing ones. Title
+ updates are not taken into account.
+
+*csd-filter-remove* *app-id*|*title* _pattern_
+ Remove _pattern_ from the CSD filter list. Note that this affects new views
+ as well as already existing ones.
*exit*
Exit the compositor, terminating the Wayland session.