Un-float settings & add shadow to floating RustRover windows
This commit is contained in:
parent
c9863fe93d
commit
9e0be3decd
1 changed files with 26 additions and 0 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue