From f98f7d8c044eaa158ff239604a6ca96908ab700b Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Tue, 20 Aug 2024 19:58:01 +0100 Subject: [PATCH] wip --- overlays/pkgs/sway-helper/src/commands/rename_workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/pkgs/sway-helper/src/commands/rename_workspace.rs b/overlays/pkgs/sway-helper/src/commands/rename_workspace.rs index 795340f..1f37646 100644 --- a/overlays/pkgs/sway-helper/src/commands/rename_workspace.rs +++ b/overlays/pkgs/sway-helper/src/commands/rename_workspace.rs @@ -7,7 +7,7 @@ impl CliRun for RenameWorkspace { fn run(&self, sway: &mut swayipc::Connection) -> crate::Result<()> { // Get a list of all the workspace names, with the focused workspace at the front (allowing // fastest access to editing). - let workspace_names = get_workspace_names(sway, FocusedWorkspacePosition::Front); + let workspace_names = get_workspace_names(sway, FocusedWorkspacePosition::Front)?; // Fuzzy select a workspace. let selected = crate::helpers::run_fzf("workspace to rename", workspace_names);