mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 09:44:21 +00:00
docs scenefx
This commit is contained in:
parent
7e3e98dd7a
commit
2aa64763fb
@ -11,26 +11,26 @@ static const float opacity_active = 1.0;
|
||||
|
||||
static const int shadow = 1; /* flag to enable shadow */
|
||||
static const int shadow_only_floating = 0; /* only apply shadow to floating windows */
|
||||
static const struct wlr_render_color shadow_color = COLOR(0x0000FFff);
|
||||
static const struct wlr_render_color shadow_color_focus = COLOR(0xFF0000ff);
|
||||
static const float shadow_color[4] = COLOR(0x0000FFff);
|
||||
static const float shadow_color_focus[4] = COLOR(0xFF0000ff);
|
||||
static const int shadow_blur_sigma = 20;
|
||||
static const int shadow_blur_sigma_focus = 40;
|
||||
static const char *const shadow_ignore_list[] = { NULL }; /* list of app-id to ignore */
|
||||
|
||||
static const int corner_radius = 0; /* 0 disables corner_radius */
|
||||
static const int corner_radius_inner = 3; /* 0 disables corner_radius */
|
||||
static const int corner_radius = 8; /* 0 disables corner_radius */
|
||||
static const int corner_radius_inner = 8; /* 0 disables corner_radius */
|
||||
static const int corner_radius_only_floating = 0; /* only apply corner_radius and corner_radius_inner to floating windows */
|
||||
|
||||
static const int blur = 1; /* flag to enable blur */
|
||||
static const int blur_optimized = 1;
|
||||
static const int blur_xray = 0; /* flag to make transparent fs and floating windows display your background */
|
||||
static const int blur_ignore_transparent = 1;
|
||||
static const struct blur_data blur_data = {
|
||||
.radius = 5,
|
||||
.num_passes = 3,
|
||||
.noise = 0.02,
|
||||
.brightness = 0.9,
|
||||
.contrast = 0.9,
|
||||
.saturation = 1.1,
|
||||
.noise = (float)0.02,
|
||||
.brightness = (float)0.9,
|
||||
.contrast = (float)0.9,
|
||||
.saturation = (float)1.1,
|
||||
};
|
||||
```
|
||||
|
||||
@ -53,7 +53,7 @@ static const struct blur_data blur_data = {
|
||||
|
||||
- [0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/scenefx/scenefx.patch)
|
||||
|
||||
**NOTE:** This patch was tested with the `87c0e8b6d5c86557a800445e8e4c322f387fe19c` commit on the `main` branch of `SceneFX`. It supports rounded borders, blur, and shadows.
|
||||
**NOTE:** This patch was tested with the `87c0e8b6d5c86557a800445e8e4c322f387fe19c` commit on the `main` branch of `SceneFX`. It supports rounded borders, blur, and shadows. However, it does not add rounded borders or shadows to Xwayland apps. That said, Xwayland apps can have shadows, and they might also support rounded borders, but I was never able to make it work. PRs are welcome!
|
||||
|
||||
**IMPORTANT:** This patch requires you to build DWL with the following dependencies
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user