mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
panel kitten: on Wayland, use app-id for the LayerShellV1 namespace parameter
The Wayland LayerShellV1 protocol doesn't allow setting window class/name/role/type/appId. Instead, it has a `namespace` parameter that we currently hardcode to `kitty`. It seems suitable to use app-id for this parameter. Example use case: kwin use the `namespace` parameter and an undocumented mapping to set window type for Layer Shell windows. E.g., "dock" maps to NET:Dock. So if we set `app_id dock` in quick_access_terminal.conf, the panel would be considered a dock, and won't have the normal scale in/out animation on shown/hidden.
This commit is contained in:
@@ -67,7 +67,7 @@ opt('+kitty_override', '', long_text='Override individual kitty configuration op
|
||||
)
|
||||
|
||||
opt('app_id', f'{appname}-quick-access',
|
||||
long_text='The WM_CLASS assigned to the quick access window (X11 only)')
|
||||
long_text='On Wayland set the :italic:`namespace` parameter of the LayerShellV1 surface. On X11 set the WM_CLASS assigned to the quick access window. (Linux only)')
|
||||
|
||||
|
||||
opt('output_name', '', long_text='''
|
||||
|
||||
Reference in New Issue
Block a user