From 9d6037b94c72deb0f5d928d3f68acc287d8baed2 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 1 May 2025 10:30:50 +0300 Subject: 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. --- wiki/Configuration:-Miscellaneous.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wiki') 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 -- cgit