fix(workspaces/sway): handle workspaces with quotes

This commit is contained in:
Mathis Raguin
2025-12-31 15:28:10 +01:00
parent 06484547d1
commit 0a5da13fbf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class Workspaces : public AModule, public sigc::trackable {
auto update() -> void override;
private:
static constexpr std::string_view workspace_switch_cmd_ = "workspace {} \"{}\"";
static constexpr std::string_view workspace_switch_cmd_ = "workspace {} {}";
static constexpr std::string_view persistent_workspace_switch_cmd_ =
R"(workspace {} "{}"; move workspace to output "{}"; workspace {} "{}")";