Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Aug 18, 2024
1 parent 0d60f86 commit b6d1b54
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ impl CliRun for SwitchToWorkspace {
let mut sway = swayipc::Connection::new().unwrap();

let mut workspace_names = vec!["back_and_forth".to_string()];
workspace_names.append(&mut crate::helpers::get_workspace_names(&mut sway, FocusedWorkspacePosition::Back));
workspace_names.append(&mut crate::helpers::get_workspace_names(
&mut sway,
FocusedWorkspacePosition::Back,
));

let selected = crate::helpers::do_fzf(workspace_names);

Expand Down

0 comments on commit b6d1b54

Please sign in to comment.