From 7214db9c2d68913e42b4f298d54f5e7271770e97 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Wed, 24 Jan 2024 02:20:03 +0100 Subject: [PATCH] Updated default threshold to 50% --- sway/config.c | 2 +- sway/sway.5.scd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sway/config.c b/sway/config.c index 87219032..2a181369 100644 --- a/sway/config.c +++ b/sway/config.c @@ -370,7 +370,7 @@ static void config_defaults(struct sway_config *config) { config->workspace_gesture_spring_size = 50; config->workspace_gesture_wrap_around = false; - config->workspace_gesture_threshold = 0.35; + config->workspace_gesture_threshold = 0.5; if (!(config->layer_criteria = create_list())) goto cleanup; diff --git a/sway/sway.5.scd b/sway/sway.5.scd index dee8fc7d..e2d5a34a 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -597,10 +597,10 @@ runtime. swipe past the first/last workspace. Disables the _workspace_gesture_spring_size_ config option. Disabled by default. -*workspace_gesture_spring_size* +*workspace_gesture_threshold* Adjusts the swipe threshold of switching workspaces. A lower value makes it easier to switch workspaces. Accepts values between 0.1 (small swipes) and - 0.9 (large swipes). The default value is set to 0.35. + 0.9 (large swipes). The default value is set to 0.5. *client.background* This command is ignored and is only present for i3 compatibility.