Un-float settings & add shadow to floating RustRover windows

This commit is contained in:
Rei Meliesie 2026-09-15 17:42:21 +02:00
commit 9e0be3decd

View file

@ -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 = ''