diff options
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index e54b431a..a51a72e7 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -593,7 +593,7 @@ pub struct AppState { pub detach_requested: bool, pub request_new_workspace: bool, pub request_new_tab: bool, - pub request_reload_keybinds: bool, + pub request_reload_config: bool, /// Set when UI interaction requested a clipboard write that must be /// handled by the outer App/event loop instead of directly from AppState. pub request_clipboard_write: Option<Vec<u8>>, @@ -636,6 +636,7 @@ pub struct AppState { #[allow(dead_code)] // kept for backward compat; palette.accent is the source of truth pub accent: Color, pub sound: SoundConfig, + pub local_sound_playback: bool, pub toast_config: ToastConfig, pub keybinds: Keybinds, /// Frame counter for spinner animations (wraps around). @@ -717,7 +718,7 @@ impl AppState { detach_requested: false, request_new_workspace: false, request_new_tab: false, - request_reload_keybinds: false, + request_reload_config: false, request_clipboard_write: None, creating_new_tab: false, requested_new_tab_name: None, @@ -767,6 +768,7 @@ impl AppState { enabled: false, ..SoundConfig::default() }, + local_sound_playback: false, toast_config: ToastConfig::default(), keybinds: Keybinds { new_workspace: (KeyCode::Char('n'), KeyModifiers::empty()), @@ -777,6 +779,8 @@ impl AppState { close_workspace_label: "shift+d".into(), detach: None, detach_label: None, + reload_config: None, + reload_config_label: None, previous_workspace: None, previous_workspace_label: None, next_workspace: None, |
