mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Add ConfigLoaded event to IPC, option to disable built-in notification (#1829)
* feat: config reload ipc event * cleanups * Rename and move the new config option * rename to ConfigLoaded and emit at connection --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
@@ -1399,6 +1399,16 @@ pub enum Event {
|
||||
/// The new state of the overview.
|
||||
is_open: bool,
|
||||
},
|
||||
/// The configuration was reloaded.
|
||||
///
|
||||
/// You will always receive this event when connecting to the event stream, indicating the last
|
||||
/// config load attempt.
|
||||
ConfigLoaded {
|
||||
/// Whether the loading failed.
|
||||
///
|
||||
/// For example, the config file couldn't be parsed.
|
||||
failed: bool,
|
||||
},
|
||||
}
|
||||
|
||||
impl FromStr for WorkspaceReferenceArg {
|
||||
|
||||
Reference in New Issue
Block a user