From bdbd2512a8e741168f7058283481f1d5324c9118 Mon Sep 17 00:00:00 2001 From: Will McKinnon Date: Sun, 21 Aug 2022 17:28:08 -0400 Subject: [PATCH] added corner_radius documentation --- README.md | 3 ++- config.in | 8 ++++++++ sway/sway.5.scd | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61ac8c38..ed8cf113 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Sway is an incredible window manager, and certainly one of the most well established wayland window managers. However, it is restricted to only include the functionality that existed in i3. This fork ditches the simple wlr_renderer, and replaces it with a fancy GLES2 renderer with functionality borrowed from the original simple renderer and [Hyprland](https://github.com/vaxerski/Hyprland). This, along with a couple of minor changes, expands sway's featureset to include the following: ++ **Rounded corners** + **Scratchpad treated as minimize**: Allows docks, or panels with a taskbar, to correctly interpret minimize / unminimize requests ([thanks to LCBCrion](https://github.com/swaywm/sway/issues/6457)) + **Default to not compiling swaybar**: Many users replace swaybar with the far more capable [waybar](https://github.com/Alexays/Waybar), swayFX cuts out the bloat by not including swaybar by default + **Add a nix flake to the repo**: Allows nixos users to easily contribute to and test this project @@ -11,4 +12,4 @@ Sway is an incredible window manager, and certainly one of the most well establi + window movement animations + drop shadows + blur -+ rounded corners + diff --git a/config.in b/config.in index 94050ba6..865bccb5 100644 --- a/config.in +++ b/config.in @@ -20,6 +20,14 @@ set $term foot # on the original workspace that the command was run on. set $menu dmenu_path | dmenu | xargs swaymsg exec -- +### Appearance +# window corner radius in px +corner_radius 10 + +# if corner_radius is set (above 0), avoid using titlebars / borders until https://github.com/WillPower3309/swayfx/issues/15 is fixed +default_border none +default_floating_border none + ### Output configuration # # Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/) diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 641d0925..86f250d0 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -585,6 +585,8 @@ The default colors are: : #000000 : #0c0c0c +*corner_radius* + Set corner radius for new windows. *default_border* normal|none|pixel [] Set default border style for new tiled windows.