aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-11-12 10:04:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-11-12 10:04:25 +0000
commitfc9625678fc7e295e7a7e03a5d47db21d4be3010 (patch)
treeb6a754c44e9dc37822e0d3fdcfa98f4c929b401e /doc
parentchangelog: triple-click when there's a quote in the last column (diff)
config: add toplevel-tag=TAG
Add support for the new xdg-toplevel-tag-v1 Wayland protocol, by exposing a new config option, `toplevel-tag`, and a corresponding command option, `--toplevel-tag` (in both `foot` and `footclient`). This can help the compositor with session management, or custom window rules. Closes #2212
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd5
-rw-r--r--doc/foot.ini.5.scd5
-rw-r--r--doc/footclient.1.scd5
3 files changed, 15 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 8d968a6e..cbf22f5b 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -67,6 +67,11 @@ the foot command line
Value to set the *app-id* property on the Wayland window
to. Default: _foot_ (normal mode), or _footclient_ (server mode).
+*toplevel-tag*=_TAG_
+ Value to set the *toplevel-tag* property on the Wayland window
+ to. The compositor can use this value for session management,
+ window rules etc. Default: _not set_
+
*-m*,*--maximized*
Start in maximized mode. If both *--maximized* and *--fullscreen*
are specified, the _last_ one takes precedence.
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 2b57c467..c9782895 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -429,6 +429,11 @@ empty string to be set, but it must be quoted: *KEY=""*)
apply window management rules. Default: _foot_ (normal mode), or
_footclient_ (server mode).
+*toplevel-tag*
+ Value to set the *toplevel-tag* property on the Wayland window
+ to. The compositor can use this value for session management,
+ window rules etc. Default: _not set_
+
*bold-text-in-bright*
Semi-boolean. When enabled, bold text is rendered in a brighter
color (in addition to using a bold font). The color is brightened
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index e4f6d350..edf3e9f3 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -33,6 +33,11 @@ terminal has terminated.
Value to set the *app-id* property on the Wayland window
to. Default: _foot_ (normal mode), or _footclient_ (server mode).
+*toplevel-tag*=_TAG_
+ Value to set the *toplevel-tag* property on the Wayland window
+ to. The compositor can use this value for session management,
+ window rules etc. Default: _not set_
+
*-w*,*--window-size-pixels*=_WIDTHxHEIGHT_
Set initial window width and height, in pixels. Default: _700x500_.