mirror of
https://github.com/labwc/labwc.git
synced 2026-05-20 21:37:41 -04:00
Typo/style fixes in docs and code comments
Codespell(1)-pointed typos in files listed by `git ls-files`
(sans checkpatch.pl and possibly some others). Removed some
extra spaces. Added a few missing trailing periods.
`Default is ...`. Added spaces in ' />' where missing
(sans e.g. wayland protocol and t/* files).
Fit some lines in docs/*.scd to 80 colums.
Used git grep commands (to find similar cases):
$ git grep -n '\S/>'
$ git grep -nF '. '
$ git grep -n '[^\t*'\'',{#]\t'
$ git grep -ni 'default '
No functional change. No change in *.[ch] line numbers.
This commit is contained in:
parent
4af693a7fd
commit
80ff89c640
16 changed files with 88 additions and 84 deletions
|
|
@ -16,7 +16,7 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
SIGTERM signal.
|
||||
|
||||
*<action name="Execute" command="value" />*
|
||||
Execute command. Note that in the interest of backward compatibility,
|
||||
Execute command. Note that in the interest of backward compatibility,
|
||||
labwc supports <execute> as an alternative to <command> even though
|
||||
openbox documentation states that it is deprecated.
|
||||
Note: Tilde (~) is expanded in the command before passing to execvp().
|
||||
|
|
@ -139,22 +139,21 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
and OSD, useful for binding to keys without modifiers.
|
||||
|
||||
*workspace* [all|current]
|
||||
This determines whether to cycle through windows on all workspaces or the
|
||||
current workspace. Default is "current".
|
||||
This determines whether to cycle through windows on all workspaces or
|
||||
the current workspace. Default is "current".
|
||||
|
||||
*output* [all|focused|cursor]
|
||||
This determines whether to cycle through windows on all outputs, the focused
|
||||
output, or the output under the cursor. Default is "all".
|
||||
This determines whether to cycle through windows on all outputs, the
|
||||
focused output, or the output under the cursor. Default is "all".
|
||||
|
||||
*identifier* [all|current]
|
||||
This determines whether to cycle through all windows or only windows of the
|
||||
same application as the currently focused window. Default is "all".
|
||||
This determines whether to cycle through all windows or only windows of
|
||||
the same application as the currently focused window. Default is "all".
|
||||
|
||||
*<action name="Reconfigure" />*
|
||||
Re-load configuration and theme files.
|
||||
|
||||
*<action name="ShowMenu" menu="root-menu"/>*
|
||||
|
||||
*<action name="ShowMenu" menu="root-menu" />*
|
||||
Show a menu.
|
||||
|
||||
```
|
||||
|
|
@ -300,7 +299,7 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
(if one exists).
|
||||
|
||||
*wrap* [yes|no] When using the direction attribute, wrap around from
|
||||
right-to-left or top-to-bottom, and vice versa. Default no.
|
||||
right-to-left or top-to-bottom, and vice versa. Default is no.
|
||||
|
||||
*<action name="FitToOutput" />*
|
||||
Resizes active window size to width and height of the output when the
|
||||
|
|
@ -314,10 +313,10 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
workspace or its index (starting at 1) as configured in rc.xml.
|
||||
|
||||
*wrap* [yes|no] Wrap around from last desktop to first, and vice
|
||||
versa. Default yes.
|
||||
versa. Default is yes.
|
||||
|
||||
*toggle* [yes|no] Toggle to “last” if already on the workspace that
|
||||
would be the actual destination. Default no.
|
||||
would be the actual destination. Default is no.
|
||||
|
||||
*<action name="SendToDesktop" to="value" follow="yes" wrap="yes" />*
|
||||
Send active window to workspace.
|
||||
|
|
@ -325,10 +324,11 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
*to* The workspace to send the window to. Supported values are the same
|
||||
as for GoToDesktop.
|
||||
|
||||
*follow* [yes|no] Also switch to the specified workspace. Default yes.
|
||||
*follow* [yes|no] Also switch to the specified workspace.
|
||||
Default is yes.
|
||||
|
||||
*wrap* [yes|no] Wrap around from last desktop to first, and vice
|
||||
versa. Default yes.
|
||||
versa. Default is yes.
|
||||
|
||||
*<action name="VirtualOutputAdd" output_name="value" />*
|
||||
Add virtual output (headless backend).
|
||||
|
|
@ -346,11 +346,11 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
|
||||
```
|
||||
<keybind key="W-v">
|
||||
<action name="VirtualOutputAdd" output_name="ScreenCasting"/>
|
||||
<action name="Execute" command='sh -c "wlr-randr --output ScreenCasting --pos 0,0 --scale 2 --custom-mode 3840x2110; wlr-randr --output eDP-1 --pos 0,0 --scale 2 --mode 3840x2160"'/>
|
||||
<action name="VirtualOutputAdd" output_name="ScreenCasting" />
|
||||
<action name="Execute" command='sh -c "wlr-randr --output ScreenCasting --pos 0,0 --scale 2 --custom-mode 3840x2110; wlr-randr --output eDP-1 --pos 0,0 --scale 2 --mode 3840x2160"' />
|
||||
</keybind>
|
||||
<keybind key="W-c">
|
||||
<action name="VirtualOutputRemove"/>
|
||||
<action name="VirtualOutputRemove" />
|
||||
</keybind>
|
||||
```
|
||||
|
||||
|
|
@ -371,7 +371,7 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
*output_name* The name of virtual output. If not supplied, will remove
|
||||
the last virtual output added.
|
||||
|
||||
*<action name="AutoPlace" policy="value"/>*
|
||||
*<action name="AutoPlace" policy="value" />*
|
||||
Reposition the window according to the desired placement policy.
|
||||
|
||||
*policy* [automatic|cursor|center|cascade] Use the specified policy,
|
||||
|
|
@ -430,11 +430,11 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
used.
|
||||
|
||||
*<action name="ToggleShowDesktop" />*
|
||||
Minimize all windows in the current workspace so that the desktop becomes
|
||||
visible. On calling the action again the hidden windows are unminimized,
|
||||
provided that - since the initial `ShowDesktop` - (a) no windows have been
|
||||
unminimized; (b) workspaces have not been switched; and (c) no new
|
||||
applications have been started.
|
||||
Minimize all windows in the current workspace so that the desktop
|
||||
becomes visible. On calling the action again the hidden windows are
|
||||
unminimized, provided that - since the initial `ShowDesktop` - (a) no
|
||||
windows have been unminimized; (b) workspaces have not been switched;
|
||||
and (c) no new applications have been started.
|
||||
|
||||
*<action name="ZoomIn">*++
|
||||
*<action name="ZoomOut">*
|
||||
|
|
@ -449,8 +449,8 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
binding.
|
||||
|
||||
*<action name="DebugToggleKeyStateIndicator" />*
|
||||
Toggle visibility of key-state on-screen display (OSD). Note: This is for
|
||||
debugging purposes only.
|
||||
Toggle visibility of key-state on-screen display (OSD). Note: This is
|
||||
for debugging purposes only.
|
||||
|
||||
# CONDITIONAL ACTIONS
|
||||
|
||||
|
|
@ -464,10 +464,10 @@ Actions that execute other actions. Used in keyboard/mouse bindings.
|
|||
|
||||
```
|
||||
<action name="If">
|
||||
<query/>
|
||||
<prompt message=""/>
|
||||
<then><action/></then>
|
||||
<else><action/></else>
|
||||
<query />
|
||||
<prompt message="" />
|
||||
<then><action /></then>
|
||||
<else><action /></else>
|
||||
</action>
|
||||
```
|
||||
|
||||
|
|
@ -549,9 +549,9 @@ Actions that execute other actions. Used in keyboard/mouse bindings.
|
|||
```
|
||||
<keybind key="W-q">
|
||||
<action name="If">
|
||||
<prompt message="Quit?"/>
|
||||
<prompt message="Quit?" />
|
||||
<then>
|
||||
<action name="Exit"/>
|
||||
<action name="Exit" />
|
||||
</then>
|
||||
</action>
|
||||
</keybind>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue