Skip to content

Commit

Permalink
Updated default threshold to 50%
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Jan 24, 2024
1 parent bd3745c commit 7214db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sway/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions sway/sway.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7214db9

Please sign in to comment.