diff options
| author | jdevdevdev <jdevdevdev@noreply.codeberg.org> | 2023-05-01 15:53:01 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-05-22 16:57:54 +0000 |
| commit | 134b54dfe0e4d142ac4b6b7fe25e84485ba63387 (patch) | |
| tree | 1055d072900caa7157f01b772315e93fa340a42d /doc | |
| parent | test: config: add test for main.utmp-helper option (diff) | |
.desktop: remove StartupWMClass from server, use distinct StartupWMClass for foot and footclient
For this to work, the default app-id of footclient has been changed
from ‘foot’ to ‘footclient’.
By using distinct StartupWMClasses, the compositor can connect a
running foot/footclient instance to the correct .desktop-file. This
ensures the correct icon is being used in e.g. docks, and that actions
like “open another window” works correctly.
Note that the user can override the app-id, either by setting app-id
in foot.ini, or with the -a,--app-id command line option.
Closes #1355
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.1.scd | 2 | ||||
| -rw-r--r-- | doc/foot.ini.5.scd | 6 | ||||
| -rw-r--r-- | doc/footclient.1.scd | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd index 6f63d4c8..60420bef 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -65,7 +65,7 @@ the foot command line *-a*,*--app-id*=_ID_ Value to set the *app-id* property on the Wayland window - to. Default: _foot_. + to. Default: _foot_ (normal mode), or _footclient_ (server mode). *-m*,*--maximized* Start in maximized mode. If both *--maximized* and *--fullscreen* diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 6a820892..32c493be 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -289,7 +289,8 @@ empty string to be set, but it must be quoted: *KEY=""*) *app-id* Value to set the *app-id* property on the Wayland window to. The compositor can use this value to e.g. group multiple windows, or - apply window management rules. Default: _foot_. + apply window management rules. Default: _foot_ (normal mode), or + _footclient_ (server mode). *bold-text-in-bright* Semi-boolean. When enabled, bold text is rendered in a brighter @@ -314,7 +315,8 @@ empty string to be set, but it must be quoted: *KEY=""*) and _body_ (message content). _${app-id}_ is replaced with the value of the command line option - _--app-id_, and defaults to *foot*. + _--app-id_, and defaults to *foot* (normal mode), or + *footclient* (server mode). _${window-title}_ is replaced with the current window title. diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd index 63235134..1464700c 100644 --- a/doc/footclient.1.scd +++ b/doc/footclient.1.scd @@ -31,7 +31,7 @@ terminal has terminated. *-a*,*--app-id*=_ID_ Value to set the *app-id* property on the Wayland window - to. Default: _foot_. + to. Default: _foot_ (normal mode), or _footclient_ (server mode). *-w*,*--window-size-pixels*=_WIDTHxHEIGHT_ Set initial window width and height, in pixels. Default: _700x500_. |
