aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2026-06-20 16:13:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-06-20 16:13:13 +0000
commit73e6d21000460cba7b511d984d34112f512a7f29 (patch)
treec783f5d5f4e7c1823387f7ded9a06077a1a2627e /doc
parentwayland: win_destroy(): unmap overlay surface before destroy (diff)
main/client: add --class, an alias for --app-id
This is to help e.g. scripts that wants to launch terminal instances in a terminal agnostic way. Many terminals were originally for X11, where the '--class' choice was obvious. When they were ported to Wayland, it made sense for them to keep the '--class' command line option, but have it set the application ID instead (since "class" is not a thing on Wayland). Let's add the alias, but minimally documented. We don't want to _encourage_ its use after all. Closes #2368
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd3
-rw-r--r--doc/footclient.1.scd3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index a190db9b..24d81b5f 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -70,6 +70,9 @@ the foot command line
Value to set the *app-id* property on the Wayland window
to. Default: _foot_ (normal mode), or _footclient_ (server mode).
+*--class*=_ID_
+ Alias for *--app-id*.
+
*toplevel-tag*=_TAG_
Value to set the *toplevel-tag* property on the Wayland window
to. The compositor can use this value for session management,
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index ad865913..92d84c34 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -33,6 +33,9 @@ terminal has terminated.
Value to set the *app-id* property on the Wayland window
to. Default: _foot_ (normal mode), or _footclient_ (server mode).
+*--class*=_ID_
+ Alias for *--app-id*.
+
*toplevel-tag*=_TAG_
Value to set the *toplevel-tag* property on the Wayland window
to. The compositor can use this value for session management,