aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-03-30 08:34:32 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-03-30 08:34:32 -0400
commita12850444d38cc1b00e30adb6dea82b6e2045914 (patch)
tree60b01009710f0379a5ff08f777405ebba93736a3 /sway/config.c
parentUpdate README screenshot (diff)
downloadsway-a12850444d38cc1b00e30adb6dea82b6e2045914.tar.gz
sway-a12850444d38cc1b00e30adb6dea82b6e2045914.tar.zst
sway-a12850444d38cc1b00e30adb6dea82b6e2045914.zip
New feature: adjust gaps with floating_mod+scroll
I made this configurable but I didn't make the command for it. That's left as an exercise to an eager contributor. mod_scroll_behavior [gaps inner|gaps outer] Would merge implementions of more behaviors for mod+scroll, if anyone has some neato ideas.
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 5501ab31..f6241a3d 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -159,6 +159,7 @@ static void config_defaults(struct sway_config *config) {
159 config->floating_mod = 0; 159 config->floating_mod = 0;
160 config->dragging_key = M_LEFT_CLICK; 160 config->dragging_key = M_LEFT_CLICK;
161 config->resizing_key = M_RIGHT_CLICK; 161 config->resizing_key = M_RIGHT_CLICK;
162 config->floating_scroll = FSB_GAPS_INNER;
162 config->default_layout = L_NONE; 163 config->default_layout = L_NONE;
163 config->default_orientation = L_NONE; 164 config->default_orientation = L_NONE;
164 config->font = strdup("monospace 10"); 165 config->font = strdup("monospace 10");