1
0
Fork 0
forked from wry/wry

clients: grant layer-shell to unprivileged clients

This commit is contained in:
Julian Orth 2024-04-23 22:10:51 +02:00
parent ef53d72ff8
commit 886339ff96
7 changed files with 51 additions and 50 deletions

View file

@ -32,7 +32,7 @@ keymap = """
"""
# An action that will be executed when the GPU has been initialized.
on-graphics-initialized = { type = "exec", exec = { prog = "mako", privileged = true } }
on-graphics-initialized = { type = "exec", exec = "mako" }
# Shortcuts that are processed by the compositor.
# The left hand side should be a key, possibly prefixed with modifiers.
@ -79,7 +79,7 @@ alt-shift-f = "toggle-floating"
# For example, the exec action spawns an application and has the exec field
# that describes how to spawn the application.
Super_L = { type = "exec", exec = "alacritty" }
alt-p = { type = "exec", exec = { prog = "bemenu-run", privileged = true } }
alt-p = { type = "exec", exec = "bemenu-run" }
# The quit action terminates the compositor.
alt-q = "quit"
@ -266,7 +266,7 @@ 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 = { prog = "mako", privileged = true } }
on-graphics-initialized = { type = "exec", exec = "mako" }
```
### Setting Environment Variables