Add scroll-factor window rule

This commit is contained in:
bbb651
2025-01-20 22:52:43 +02:00
committed by Ivan Molodetskikh
parent 788c9c6c54
commit 128b01e049
4 changed files with 38 additions and 4 deletions
+2
View File
@@ -1079,6 +1079,8 @@ pub struct WindowRule {
pub variable_refresh_rate: Option<bool>,
#[knuffel(child)]
pub default_floating_position: Option<FloatingPosition>,
#[knuffel(child, unwrap(argument))]
pub scroll_factor: Option<FloatOrInt<0, 100>>,
}
#[derive(knuffel::Decode, Debug, Default, Clone, PartialEq)]