added corner_radius documentation

This commit is contained in:
Will McKinnon 2022-08-21 17:28:08 -04:00
parent 5c0086b944
commit bdbd2512a8
3 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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/)

View file

@ -585,6 +585,8 @@ The default colors are:
: #000000
: #0c0c0c
*corner_radius* <radius>
Set corner radius for new windows.
*default_border* normal|none|pixel [<n>]
Set default border style for new tiled windows.