aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-05-01 10:30:50 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-05-01 10:33:53 +0300
commit9d6037b94c72deb0f5d928d3f68acc287d8baed2 (patch)
tree8380b2330170ba08a554be0292ba6617a07fe3bd /wiki
parent7b4cf094ef6c45ca92eaca4b0d42ef0a7c77e7e3 (diff)
downloadniri-9d6037b94c72deb0f5d928d3f68acc287d8baed2.tar.gz
niri-9d6037b94c72deb0f5d928d3f68acc287d8baed2.tar.bz2
niri-9d6037b94c72deb0f5d928d3f68acc287d8baed2.zip
Normalize workspace shadows to 1080 px tall screen, adjust defaults
Workspace gaps are dependent on screen size, so it makes sense to make shadows depend on the screen size to, to avoid them filling more or less of the gap.
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Miscellaneous.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/wiki/Configuration:-Miscellaneous.md b/wiki/Configuration:-Miscellaneous.md
index ee78cebd..ae44914e 100644
--- a/wiki/Configuration:-Miscellaneous.md
+++ b/wiki/Configuration:-Miscellaneous.md
@@ -29,9 +29,9 @@ overview {
workspace-shadow {
// off
- softness 120
- spread 20
- offset x=0 y=20
+ softness 80
+ spread 10
+ offset x=0 y=10
color "#00000070"
}
}
@@ -192,7 +192,7 @@ Control the shadow behind workspaces visible in the overview.
Settings here mirror the normal [`shadow` config in the layout section](./Configuration:-Layout.md#shadow), so check the documentation there.
-Keep in mind that workspace shadows are configured for the full-screen workspace size, then zoomed out together with the workspace.
+Workspace shadows are configured for a workspace size normalized to 1080 pixels tall, then zoomed out together with the workspace.
Practically, this means that you'll want bigger spread, offset, and softness compared to window shadows.
```kdl