From cc362d3ad8f524eeb234638c5779e50324182567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sun, 19 Jan 2025 13:25:58 +0300 Subject: niri: enable shadows --- dotfiles/.config/niri/config.kdl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'dotfiles/.config') 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. -- cgit v1.2.3