ToggleKeybinds per window

This commit is contained in:
Consolatis 2023-03-05 10:35:56 +01:00 committed by Johan Malm
parent b6dfffc782
commit 235a8ad9bc
12 changed files with 84 additions and 5 deletions

View file

@ -105,6 +105,11 @@ Actions are used in menus and keyboard/mouse bindings.
to Virtual Machines, VNC clients or nested compositors.
A second call will restore all original keybinds.
This action will only affect the window that had keyboard focus when
the binding was executed. Thus when switching to another window, all
the usual keybinds will function again until switching back to the
original window. There can be multiple windows with this mode set.
*<action name="FocusOutput" output="HDMI-A-1" />*
Give focus to topmost window on given output and warp the cursor
to the center of the window. If the given output does not contain

View file

@ -78,6 +78,10 @@ labwc-config(5).
*window.inactive.border.color*
Border color of inactive window
*window.active.indicator.toggled-keybind.color*
Status indicator for the ToggleKeybinds action. Can be set to the same
value as set for window.active.border.color to disable the status indicator.
*window.active.title.bg.color*
Background color for the focused window's titlebar

View file

@ -13,6 +13,9 @@ padding.height: 3
window.active.border.color: #dddad6
window.inactive.border.color: #f6f5f4
# ToggleKeybinds status indicator
window.active.indicator.toggled-keybind.color: #ff0000
# window titlebar background
window.active.title.bg.color: #dddad6
window.inactive.title.bg.color: #f6f5f4