From 2b313f71b3db8d41093de082e79f20fababc2c3f Mon Sep 17 00:00:00 2001 From: Charles Taylor Date: Sun, 21 Aug 2022 22:42:42 +1000 Subject: [PATCH 1/2] docs for prev workspace switch (Hyprland PR #352) --- pages/Configuring/Advanced-config.md | 2 ++ pages/Configuring/Basic-Config.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md index a2aa44f..b9b757d 100644 --- a/pages/Configuring/Advanced-config.md +++ b/pages/Configuring/Advanced-config.md @@ -304,6 +304,8 @@ You have six choices: - Name: e.g. `name:Web`, `name:Anime` or `name:Better anime` +- Previous workspace: `previous` + - Special Workspace: `special` {{< hint type=warning >}} diff --git a/pages/Configuring/Basic-Config.md b/pages/Configuring/Basic-Config.md index 49f4615..689c19c 100644 --- a/pages/Configuring/Basic-Config.md +++ b/pages/Configuring/Basic-Config.md @@ -178,6 +178,8 @@ Described [here](../Advanced-config#per-device-input-configs). |---|---|---|---|---| | pass_mouse_when_bound | if disabled, will not pass the mouse events to apps / dragging windows around if a keybind has been triggered. | bool | true | | scroll_event_delay | in ms, how many ms to wait after a scroll event to allow to pass another one for the binds. | int | 300 | +| workspace_back_and_forth | If enabled, an attempt to switch to the currently focused workspace will instead switch to the previous workspace. Akin to i3's *auto_back_and_forth*. | int | 0 | +| allow_workspace_cycles | If enabled, workspaces don't forget their previous workspace, so cycles can be created by switching to the first workspace in a sequence, then endlessly going to the previous workspace. | int | 0 | ## Debug From cd71133ad172da742489000a340f505b96d3b1fc Mon Sep 17 00:00:00 2001 From: Charles Taylor Date: Mon, 22 Aug 2022 08:51:39 +1000 Subject: [PATCH 2/2] fix bool types & num of workspace command choices --- pages/Configuring/Advanced-config.md | 2 +- pages/Configuring/Basic-Config.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md index b9b757d..bd54a1c 100644 --- a/pages/Configuring/Advanced-config.md +++ b/pages/Configuring/Advanced-config.md @@ -292,7 +292,7 @@ bind = MOD,KEY,exec,sleep 1 && hyprctl dispatch dpms off ## Workspaces -You have six choices: +You have seven choices: - ID: e.g. `1`, `2`, or `3` diff --git a/pages/Configuring/Basic-Config.md b/pages/Configuring/Basic-Config.md index 689c19c..005dbe2 100644 --- a/pages/Configuring/Basic-Config.md +++ b/pages/Configuring/Basic-Config.md @@ -178,8 +178,8 @@ Described [here](../Advanced-config#per-device-input-configs). |---|---|---|---|---| | pass_mouse_when_bound | if disabled, will not pass the mouse events to apps / dragging windows around if a keybind has been triggered. | bool | true | | scroll_event_delay | in ms, how many ms to wait after a scroll event to allow to pass another one for the binds. | int | 300 | -| workspace_back_and_forth | If enabled, an attempt to switch to the currently focused workspace will instead switch to the previous workspace. Akin to i3's *auto_back_and_forth*. | int | 0 | -| allow_workspace_cycles | If enabled, workspaces don't forget their previous workspace, so cycles can be created by switching to the first workspace in a sequence, then endlessly going to the previous workspace. | int | 0 | +| workspace_back_and_forth | If enabled, an attempt to switch to the currently focused workspace will instead switch to the previous workspace. Akin to i3's *auto_back_and_forth*. | bool | false | +| allow_workspace_cycles | If enabled, workspaces don't forget their previous workspace, so cycles can be created by switching to the first workspace in a sequence, then endlessly going to the previous workspace. | bool | false | ## Debug