Add a configuration entry to disable auto_back_and_forth on Sway workspaces

This commit is contained in:
Genesis
2021-02-02 21:58:26 +01:00
parent f2e9bb54f0
commit 7eb2a6b709
3 changed files with 21 additions and 7 deletions

View File

@ -20,7 +20,7 @@ class Workspaces : public AModule, public sigc::trackable {
auto update() -> void;
private:
static inline const std::string workspace_switch_cmd_ = "workspace --no-auto-back-and-forth \"{}\"";
static inline const std::string workspace_switch_cmd_ = "workspace {} \"{}\"";
static int convertWorkspaceNameToNum(std::string name);