pub struct RuntimeTuning {Show 69 fields
pub viewport_center: Vec2,
pub viewport_size: Vec2,
pub focus_ring_rx: f32,
pub focus_ring_ry: f32,
pub focus_ring_offset_x: f32,
pub focus_ring_offset_y: f32,
pub primary_hot_inner_frac: f32,
pub primary_to_node_ms: u64,
pub node_show_labels: NodeDisplayPolicy,
pub node_show_app_icons: NodeDisplayPolicy,
pub node_shape: ShapeStyle,
pub node_label_shape: ShapeStyle,
pub node_icon_size: f32,
pub node_background_color: NodeBackgroundColorMode,
pub node_border_color_hover: NodeBorderColorMode,
pub node_border_color_inactive: NodeBorderColorMode,
pub decorations: DecorationsConfig,
pub click_collapsed_outside_focus: ClickCollapsedOutsideFocusMode,
pub click_collapsed_pan: ClickCollapsedPanMode,
pub bearings: BearingsConfig,
pub cluster_distance_px: f32,
pub cluster_dwell_ms: u64,
pub cluster_show_icons: bool,
pub cluster_bloom_direction: ClusterBloomDirection,
pub cluster_default_layout: ClusterDefaultLayout,
pub tile_gaps_inner_px: f32,
pub tile_gaps_outer_px: f32,
pub tile_new_on_top: bool,
pub tile_queue_show_icons: bool,
pub tile_max_stack: usize,
pub stacking_max_visible: usize,
pub trail_history_length: usize,
pub trail_wrap: bool,
pub active_outside_ring_delay_ms: u64,
pub inactive_outside_ring_delay_ms: u64,
pub docked_offscreen_delay_ms: u64,
pub non_overlap_gap_px: f32,
pub field_active_windows_allowed: usize,
pub pan_to_new: PanToNewMode,
pub close_restore_focus: bool,
pub close_restore_pan: CloseRestorePanMode,
pub zoom_enabled: bool,
pub zoom_step: f32,
pub zoom_min: f32,
pub zoom_max: f32,
pub zoom_smooth: bool,
pub zoom_smooth_rate: f32,
pub non_overlap_active_gap_scale: f32,
pub non_overlap_bump_newer: bool,
pub non_overlap_bump_damping: f32,
pub drag_smoothing_boost: f32,
pub center_window_to_mouse: bool,
pub restore_last_active_on_pan_return: bool,
pub physics_enabled: bool,
pub window_rules: Vec<WindowRule>,
pub keybinds: Keybinds,
pub compositor_bindings: Vec<CompositorBinding>,
pub launch_bindings: Vec<LaunchBinding>,
pub pointer_bindings: Vec<PointerBinding>,
pub tty_viewports: Vec<ViewportOutputConfig>,
pub autostart_once: Vec<String>,
pub autostart_on_reload: Vec<String>,
pub input: InputConfig,
pub cursor: CursorConfig,
pub font: FontConfig,
pub animations: AnimationsConfig,
pub overlay_style: OverlayStyleConfig,
pub screenshot: ScreenshotConfig,
pub env: HashMap<String, String>,
}Fields§
§viewport_center: Vec2§viewport_size: Vec2§focus_ring_rx: f32§focus_ring_ry: f32§focus_ring_offset_x: f32§focus_ring_offset_y: f32§primary_hot_inner_frac: f32§primary_to_node_ms: u64§node_show_labels: NodeDisplayPolicy§node_show_app_icons: NodeDisplayPolicy§node_shape: ShapeStyle§node_label_shape: ShapeStyle§node_icon_size: f32§node_background_color: NodeBackgroundColorMode§node_border_color_hover: NodeBorderColorMode§node_border_color_inactive: NodeBorderColorMode§decorations: DecorationsConfig§click_collapsed_outside_focus: ClickCollapsedOutsideFocusMode§click_collapsed_pan: ClickCollapsedPanMode§bearings: BearingsConfig§cluster_distance_px: f32§cluster_dwell_ms: u64§cluster_show_icons: bool§cluster_bloom_direction: ClusterBloomDirection§cluster_default_layout: ClusterDefaultLayout§tile_gaps_inner_px: f32§tile_gaps_outer_px: f32§tile_new_on_top: bool§tile_queue_show_icons: bool§tile_max_stack: usize§stacking_max_visible: usize§trail_history_length: usize§trail_wrap: bool§active_outside_ring_delay_ms: u64§inactive_outside_ring_delay_ms: u64§docked_offscreen_delay_ms: u64§non_overlap_gap_px: f32§field_active_windows_allowed: usize§pan_to_new: PanToNewMode§close_restore_focus: bool§close_restore_pan: CloseRestorePanMode§zoom_enabled: bool§zoom_step: f32§zoom_min: f32§zoom_max: f32§zoom_smooth: bool§zoom_smooth_rate: f32§non_overlap_active_gap_scale: f32§non_overlap_bump_newer: bool§non_overlap_bump_damping: f32§drag_smoothing_boost: f32§center_window_to_mouse: bool§restore_last_active_on_pan_return: bool§physics_enabled: bool§window_rules: Vec<WindowRule>§keybinds: Keybinds§compositor_bindings: Vec<CompositorBinding>§launch_bindings: Vec<LaunchBinding>§pointer_bindings: Vec<PointerBinding>§tty_viewports: Vec<ViewportOutputConfig>§autostart_once: Vec<String>§autostart_on_reload: Vec<String>§input: InputConfig§cursor: CursorConfig§font: FontConfig§animations: AnimationsConfig§overlay_style: OverlayStyleConfig§screenshot: ScreenshotConfig§env: HashMap<String, String>Implementations§
Source§impl RuntimeTuning
impl RuntimeTuning
pub fn enforce_guards(&mut self)
Source§impl RuntimeTuning
impl RuntimeTuning
pub fn default_home_config_path() -> String
pub fn global_config_path() -> String
pub fn internal_config_template() -> String
pub fn builtin_defaults() -> Self
pub fn render_fresh_config(tty_viewports: &[ViewportOutputConfig]) -> String
pub fn window_primary_border_size_px(&self) -> i32
pub fn window_border_radius_px(&self) -> i32
pub fn window_secondary_border_enabled(&self) -> bool
pub fn window_secondary_border_size_px(&self) -> i32
pub fn window_secondary_border_gap_px(&self) -> i32
pub fn total_window_border_footprint_px(&self) -> i32
pub fn cluster_layout_kind(&self) -> ClusterWorkspaceLayoutKind
pub fn active_cluster_visible_limit(&self) -> usize
pub fn animations_enabled(&self) -> bool
pub fn smooth_resize_enabled(&self) -> bool
pub fn smooth_resize_duration_ms(&self) -> u64
pub fn window_close_animation_enabled(&self) -> bool
pub fn window_close_duration_ms(&self) -> u64
pub fn window_close_style(&self) -> WindowCloseAnimationStyle
pub fn window_open_animation_enabled(&self) -> bool
pub fn window_open_duration_ms(&self) -> u64
pub fn tile_animation_enabled(&self) -> bool
pub fn tile_animation_duration_ms(&self) -> u64
pub fn stack_animation_enabled(&self) -> bool
pub fn stack_animation_duration_ms(&self) -> u64
pub fn config_path() -> String
pub fn load() -> Self
pub fn load_from_path(path: &str) -> Self
pub fn try_load_from_path(path: &str) -> Option<Self>
pub fn apply_process_env(&self)
pub fn viewport(&self) -> Viewport
pub fn focus_ring(&self) -> FocusRing
pub fn focus_ring_for_output(&self, output_name: &str) -> FocusRing
pub fn focus_ring_decay_policy(&self) -> FocusRingDecayPolicy
pub fn keybinds_resolved_summary(&self) -> String
pub fn zoom_resolved_summary(&self) -> String
Source§impl RuntimeTuning
impl RuntimeTuning
pub fn from_rune_file(path: &str) -> Option<Self>
pub fn from_rune_str(raw: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for RuntimeTuning
impl Clone for RuntimeTuning
Source§fn clone(&self) -> RuntimeTuning
fn clone(&self) -> RuntimeTuning
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeTuning
impl Debug for RuntimeTuning
Auto Trait Implementations§
impl Freeze for RuntimeTuning
impl RefUnwindSafe for RuntimeTuning
impl Send for RuntimeTuning
impl Sync for RuntimeTuning
impl Unpin for RuntimeTuning
impl UnsafeUnpin for RuntimeTuning
impl UnwindSafe for RuntimeTuning
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more