From 3e6f2366e74f573d1e57d7a4cab5fb334d26bed5 Mon Sep 17 00:00:00 2001 From: Will McKinnon Date: Thu, 6 Apr 2023 20:36:18 -0400 Subject: [PATCH] updated docs from on|off to enable|disable --- README.md | 7 +++---- sway/sway.5.scd | 16 ++++++++-------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e2bf891d..d34ca907 100644 --- a/README.md +++ b/README.md @@ -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 ` -+ 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 ` - `shadow_color 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 - diff --git a/sway/sway.5.scd b/sway/sway.5.scd index a470005a..31edb038 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -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* - 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* Executes custom background _command_. Default is _swaybg_. Refer to @@ -653,7 +653,7 @@ The default colors are: *corner_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* @@ -671,13 +671,13 @@ The default colors are: *dim_inactive_colors.urgent* The color to dim inactive urgent windows with. Example color: #900000FF -*shadows* - 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* +*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* Adjusts the shadow blur radius of windows between 0 (disabled) and 100