Skip to content

Commit 7e910ac

Browse files
committed
config: Add unknown Action/SystemAction
1 parent fe529ae commit 7e910ac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/src/shortcuts/action.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ pub enum Action {
130130

131131
/// Change focus to the given workspace ID
132132
Workspace(u8),
133+
134+
#[serde(untagged, skip_serializing)]
135+
Unknown,
133136
}
134137

135138
/// Common system operations which may be controlled by system commands
@@ -179,6 +182,9 @@ pub enum System {
179182
WindowSwitcherPrevious,
180183
/// Opens the workspace overview
181184
WorkspaceOverview,
185+
186+
#[serde(untagged, skip_serializing)]
187+
Unknown,
182188
}
183189

184190
/// Defines the direction of an operation

0 commit comments

Comments
 (0)