mirror of
https://github.com/swaywm/sway.git
synced 2026-06-13 14:33:19 -04:00
docs: mark opacity as runtime-only command
The opacity command requires a container in handler_context and is registered in command_handlers[] (runtime-only). Using it directly in the config file results in "Unknown/invalid command 'opacity'". It works only via swaymsg, bindsym, or inside for_window blocks.
This commit is contained in:
parent
f1b40bc288
commit
f4d9d98238
1 changed files with 4 additions and 4 deletions
|
|
@ -294,6 +294,10 @@ set|plus|minus|toggle <amount>
|
||||||
A no operation command that can be used to override default behaviour. The
|
A no operation command that can be used to override default behaviour. The
|
||||||
optional comment argument is ignored, but logged for debugging purposes.
|
optional comment argument is ignored, but logged for debugging purposes.
|
||||||
|
|
||||||
|
*opacity* [set|plus|minus] <value>
|
||||||
|
Adjusts the opacity of the window between 0 (completely transparent) and
|
||||||
|
1 (completely opaque). If the operation is omitted, _set_ will be used.
|
||||||
|
|
||||||
*reload*
|
*reload*
|
||||||
Reloads the sway config file and applies any changes. The config file is
|
Reloads the sway config file and applies any changes. The config file is
|
||||||
located at path specified by the command line arguments when started,
|
located at path specified by the command line arguments when started,
|
||||||
|
|
@ -873,10 +877,6 @@ The default colors are:
|
||||||
Any mark that starts with an underscore will not be drawn even if
|
Any mark that starts with an underscore will not be drawn even if
|
||||||
*show_marks* is yes. The default is _yes_.
|
*show_marks* is yes. The default is _yes_.
|
||||||
|
|
||||||
*opacity* [set|plus|minus] <value>
|
|
||||||
Adjusts the opacity of the window between 0 (completely transparent) and
|
|
||||||
1 (completely opaque). If the operation is omitted, _set_ will be used.
|
|
||||||
|
|
||||||
*tiling_drag* enable|disable|toggle
|
*tiling_drag* enable|disable|toggle
|
||||||
Sets whether or not tiling containers can be dragged with the mouse. If
|
Sets whether or not tiling containers can be dragged with the mouse. If
|
||||||
_enabled_ (default), the _floating_mod_ can be used to drag tiling, as well
|
_enabled_ (default), the _floating_mod_ can be used to drag tiling, as well
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue