mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add scroll-factor window rule
This commit is contained in:
committed by
Ivan Molodetskikh
parent
788c9c6c54
commit
128b01e049
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user