1
0
Fork 0
forked from wry/wry

wayland: implement jay-tray-v1

This commit is contained in:
Julian Orth 2024-10-17 16:05:19 +02:00
parent 18bddbc987
commit 8c3cd97ae3
28 changed files with 979 additions and 43 deletions

View file

@ -32,7 +32,10 @@ keymap = """
"""
# An action that will be executed when the GPU has been initialized.
on-graphics-initialized = { type = "exec", exec = "mako" }
on-graphics-initialized = [
{ type = "exec", exec = "mako" },
{ type = "exec", exec = "wl-tray-bridge" },
]
# Shortcuts that are processed by the compositor.
# The left hand side should be a key, possibly prefixed with modifiers.
@ -266,7 +269,10 @@ If you want to run an action at startup, you can use the top-level `on-graphics-
field:
```toml
on-graphics-initialized = { type = "exec", exec = "mako" }
on-graphics-initialized = [
{ type = "exec", exec = "mako" },
{ type = "exec", exec = "wl-tray-bridge" },
]
```
### Setting Environment Variables
@ -490,7 +496,7 @@ output.name = "left"
See the specification for more details.
# Theming
### Theming
You can configure the colors, sizes, and fonts used by the compositor with the top-level `theme` table.
@ -500,3 +506,10 @@ bg-color = "#ff000"
```
See the specification for more details.
### Tray Icons and Menus
The default configuration will try to start [wl-tray-bridge] to give you access to tray
icons and menus.
[wl-tray-bridge]: https://github.com/mahkoh/wl-tray-bridge