diff options
Diffstat (limited to 'dotfiles/.config/niri')
-rw-r--r-- | dotfiles/.config/niri/config.kdl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index ec4fd69..5553ee2 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -206,6 +206,29 @@ layout { inactive-gradient from="#252832" to="#676775" angle=45 } + // You can enable drop shadows for windows. + shadow { + // Uncomment the next line to enable shadows. + on + + // draw-behind-window true + + // You can change how shadows look. The values below are in logical + // pixels and match the CSS box-shadow properties. + + // Softness controls the shadow blur radius. + softness 15 + + // Spread expands the shadow. + spread 6 + + // Offset moves the shadow relative to the window. + offset x=0 y=2 + + // You can also change the shadow color and opacity. + color "#000a" + } + // Struts shrink the area occupied by windows, similarly to layer-shell panels. // You can think of them as a kind of outer gaps. They are set in logical pixels. // Left and right struts will cause the next window to the side to always be visible. |