Correctings vertical starting position for fibonacci layout

pull/19/head
bakkeby 4 years ago
parent ffffd92f6a
commit 69fd1242e6

@ -116,7 +116,7 @@ index 4465af1..5592c57 100644
2.19.1
From b8ca2fe0de3b79afe2c4132d046f9b81ea8e2762 Mon Sep 17 00:00:00 2001
From 051e4de72079bb0b8e50d2faa61b9a0ef36434b5 Mon Sep 17 00:00:00 2001
From: bakkeby <bakkeby@gmail.com>
Date: Fri, 8 May 2020 16:51:00 +0200
Subject: [PATCH 2/2] vanitygaps - adds gaps to layouts
@ -130,8 +130,8 @@ among the available clients.
---
config.def.h | 38 ++-
dwm.c | 43 +--
vanitygaps.c | 823 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 868 insertions(+), 36 deletions(-)
vanitygaps.c | 822 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 867 insertions(+), 36 deletions(-)
create mode 100644 vanitygaps.c
diff --git a/config.def.h b/config.def.h
@ -278,10 +278,10 @@ index 5592c57..7d503cb 100644
{
diff --git a/vanitygaps.c b/vanitygaps.c
new file mode 100644
index 0000000..95788e8
index 0000000..1a816b6
--- /dev/null
+++ b/vanitygaps.c
@@ -0,0 +1,823 @@
@@ -0,0 +1,822 @@
+/* Key binding functions */
+static void defaultgaps(const Arg *arg);
+static void incrgaps(const Arg *arg);
@ -768,7 +768,7 @@ index 0000000..95788e8
+ return;
+
+ nx = m->wx + ov;
+ ny = oh;
+ ny = m->wy + oh;
+ nw = m->ww - 2*ov;
+ nh = m->wh - 2*oh;
+
@ -796,7 +796,6 @@ index 0000000..95788e8
+ }
+
+ if ((i % 4) == 0) {
+
+ if (s) {
+ ny += nh + ih;
+ nh += hrest;

@ -1,4 +1,4 @@
From 91e47d9161eadb0485e0c23f0cf950f9c8e7355a Mon Sep 17 00:00:00 2001
From 9709d08daa290c8c7319571cd9e6ef4ec40e7683 Mon Sep 17 00:00:00 2001
From: bakkeby <bakkeby@gmail.com>
Date: Wed, 6 May 2020 17:21:25 +0200
Subject: [PATCH] vanitygaps - adds gaps to layouts
@ -12,8 +12,8 @@ among the available clients.
---
config.def.h | 38 ++-
dwm.c | 35 +--
vanitygaps.c | 810 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 855 insertions(+), 28 deletions(-)
vanitygaps.c | 809 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 854 insertions(+), 28 deletions(-)
create mode 100644 vanitygaps.c
diff --git a/config.def.h b/config.def.h
@ -152,10 +152,10 @@ index 4465af1..c3b2d82 100644
{
diff --git a/vanitygaps.c b/vanitygaps.c
new file mode 100644
index 0000000..7551a09
index 0000000..3f31593
--- /dev/null
+++ b/vanitygaps.c
@@ -0,0 +1,810 @@
@@ -0,0 +1,809 @@
+/* Key binding functions */
+static void defaultgaps(const Arg *arg);
+static void incrgaps(const Arg *arg);
@ -640,7 +640,7 @@ index 0000000..7551a09
+ return;
+
+ nx = m->wx + ov;
+ ny = oh;
+ ny = m->wy + oh;
+ nw = m->ww - 2*ov;
+ nh = m->wh - 2*oh;
+
@ -668,7 +668,6 @@ index 0000000..7551a09
+ }
+
+ if ((i % 4) == 0) {
+
+ if (s) {
+ ny += nh + ih;
+ nh += hrest;

Loading…
Cancel
Save