Skip to content

Commit

Permalink
Fix dispatch_str for MoveFocusedWindowToWorkspace(Silent)
Browse files Browse the repository at this point in the history
  • Loading branch information
sij1nk committed Jan 27, 2024
1 parent e2517e1 commit a71b651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,8 @@ pub(crate) fn gen_dispatch_str(cmd: DispatchType, dispatch: bool) -> crate::Resu
MoveToWorkspace(work, None) => format!("movetoworkspace{sep}{work}"),
MoveToWorkspaceSilent(work, Some(win)) => format!("movetoworkspacesilent{sep}{work},{win}"),
MoveToWorkspaceSilent(work, None) => format!("movetoworkspacesilent{sep}{work}"),
MoveFocusedWindowToWorkspace(work) => format!("workspace{sep}{work}"),
MoveFocusedWindowToWorkspaceSilent(work) => format!("workspace{sep}{work}"),
MoveFocusedWindowToWorkspace(work) => format!("movetoworkspace{sep}{work}"),
MoveFocusedWindowToWorkspaceSilent(work) => format!("movetoworkspacesilent{sep}{work}"),
ToggleFloating(Some(v)) => format!("togglefloating{sep}{v}"),
ToggleFloating(None) => "togglefloating".to_string(),
ToggleFullscreen(ftype) => format!("fullscreen{sep}{ftype}"),
Expand Down

0 comments on commit a71b651

Please sign in to comment.