updated docs from on|off to enable|disable

This commit is contained in:
Will McKinnon 2023-04-06 20:36:18 -04:00
parent 420364dd19
commit 3e6f2366e7
2 changed files with 11 additions and 12 deletions

View file

@ -13,10 +13,10 @@ Sway is an incredible window manager, and certainly one of the most well establi
## New Configuration Options
+ Corner radius: `corner_radius <val>`
+ Smart corner radius: `smart_corner_radius on|off`
+ Smart corner radius: `smart_corner_radius enable|disable`
+ Window shadows:
- `shadows on|off`
- `shadows_on_csd on|off` (**Note**: The shadow might not fit some windows)
- `shadows enable|disable`
- `shadows_on_csd enable|disable` (**Note**: The shadow might not fit some windows)
- `shadow_blur_radius <integer value 0 - 100>`
- `shadow_color <hex color with alpha> ex, #0000007F`
+ Dim unfocused windows:
@ -94,4 +94,3 @@ Here's a quick outline of where most of our changes lie vs the main sway reposit
+ `sway/desktop/shaders`: where all of the shaders that fx_renderer uses live
Please join our (for the time being very small) Discord server for development chatter! https://discord.gg/R5hYhC2BFg

View file

@ -71,9 +71,9 @@ The following commands may only be used in the configuration file.
*wordexp*(3) for details). The same include file can only be included once;
subsequent attempts will be ignored.
*scratchpad_minimize* <value>
Adjusts if minimized windows should be moved into the scratchpad
(enable|disable). Must be set at config-time (when starting sway).
*scratchpad_minimize* enable|disable
Adjusts if minimized windows should be moved into the scratchpad.
Must be set at config-time (when starting sway).
*swaybg_command* <command>
Executes custom background _command_. Default is _swaybg_. Refer to
@ -653,7 +653,7 @@ The default colors are:
*corner_radius* <radius>
Set corner radius for new windows.
*smart_corner_radius* on|off
*smart_corner_radius* enable|disable
Set corner radius only if there are gaps around the window.
*default_dim_inactive* <value>
@ -671,13 +671,13 @@ The default colors are:
*dim_inactive_colors.urgent* <hex color>
The color to dim inactive urgent windows with. Example color: #900000FF
*shadows* <value>
Adjusts if shadows should be enabled or not (on|off). Can also be set per
*shadows* enable|disable
Sets whether or not shadows should be drawn. Can also be set per
window with *for_window*.
*shadows_on_csd* <value>
*shadows_on_csd* enable|disable
Adjusts if shadows should be drawn on windows that draw their own
decorations (on|off). *Note:* The shadow might not fit some windows.
decorations. *Note:* The shadow might not fit some windows.
*shadow_blur_radius* <value>
Adjusts the shadow blur radius of windows between 0 (disabled) and 100