Updated default threshold to 50%

This commit is contained in:
Erik Reider 2024-01-24 02:20:03 +01:00
parent bd3745c6ed
commit 7214db9c2d
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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* <value>
*workspace_gesture_threshold* <value>
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* <color>
This command is ignored and is only present for i3 compatibility.