From 9e0be3decdc5259fa278620d6b84e1083187aa96 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Tue, 15 Sep 2026 17:42:21 +0200 Subject: [PATCH] Un-float settings & add shadow to floating RustRover windows --- ruysch-graphical.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ruysch-graphical.nix b/ruysch-graphical.nix index a66404d..6a3f89a 100644 --- a/ruysch-graphical.nix +++ b/ruysch-graphical.nix @@ -230,6 +230,8 @@ + // 75% width windows. + window-rule { match app-id="firefox" is-floating=false match app-id="jetbrains-rustrover" is-floating=false @@ -240,11 +242,35 @@ default-column-width { proportion 0.75; } } + // Un-floated windows. + + window-rule { + match app-id="jetbrains-rustrover" title="^Settings – " + + open-floating false + } + + // Windows with clipped off shadows. + window-rule { match app-id="jetbrains-rustrover" is-floating=false clip-to-geometry true } + + // Floating windows with added shadow. + + window-rule { + match app-id="jetbrains-rustrover" is-floating=true + + shadow { + on + color "#0004" + softness 30 + spread 0 + offset x=0 y=0 + } + } ''; "nwg-bar/bar.json".text = ''