From 67cf08d27f5d32c237711e8ff74b95997435cb0d Mon Sep 17 00:00:00 2001 From: moe Date: Sat, 10 Aug 2024 16:07:55 -0400 Subject: [PATCH] update readme to new guidelines, rebase patches onto 0.7 --- patches/mastercolumn/README.md | 10 +++++----- patches/mastercolumn/mastercolumn.patch | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/patches/mastercolumn/README.md b/patches/mastercolumn/README.md index 0320379..d3eb30c 100644 --- a/patches/mastercolumn/README.md +++ b/patches/mastercolumn/README.md @@ -1,16 +1,16 @@ ### Description -This patch adds an extra layout to dwl called `mastercol` in which the windows in the master area are arranged in columns of equal size. The number of columns is always nmaster + 1, and the last column is a stack of leftover windows just like the normal tile layout. It effectively acts like the default tiling mode, except provides for vertical instead of horizontal master windows. +This patch adds a layout, `mastercol`, in which the windows in the master area are arranged in columns of equal size. The number of columns is always nmaster + 1, and the last column is a stack of leftover windows (as in the normal tile layout). It effectively differs from the default tile layout only in that master windows are arranged horizontally rather than vertically. For gaps, apply `mastercolumn-gaps.patch` on top of `mastercolumn.patch` and `gaps.patch`. ### Download ##### `mastercolumn.patch` -- [git branch](https://codeberg.org/dsst/dwl/src/branch/mastercolumn) -- [2024-07-13](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn.patch) +- [git branch](/dsst/dwl/src/branch/mastercolumn) +- [0.7](/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn.patch) ##### `mastercolumn-gaps.patch` -- [git branch](https://codeberg.org/dsst/dwl/src/branch/mastercolumn-gaps) -- [2024-07-16](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn-gaps.patch) +- [git branch](/dsst/dwl/src/branch/mastercolumn-gaps) +- [0.7](/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn-gaps.patch) ### Authors - [dsst](https://codeberg.org/dsst) diff --git a/patches/mastercolumn/mastercolumn.patch b/patches/mastercolumn/mastercolumn.patch index a58f5e3..425e414 100644 --- a/patches/mastercolumn/mastercolumn.patch +++ b/patches/mastercolumn/mastercolumn.patch @@ -1,12 +1,12 @@ -From 64ef30f1970de25542dfcf1ed617d354558c69eb Mon Sep 17 00:00:00 2001 +From eb0c6ff53ba823f26d13f18627a084959c353627 Mon Sep 17 00:00:00 2001 From: moe -Date: Sat, 13 Jul 2024 13:02:34 -0400 -Subject: [PATCH] init mastercolumn +Date: Sat, 10 Aug 2024 15:58:15 -0400 +Subject: [PATCH] add mastercolumn layout --- config.def.h | 2 ++ - dwl.c | 35 +++++++++++++++++++++++++++++++++++ - 2 files changed, 37 insertions(+) + dwl.c | 36 ++++++++++++++++++++++++++++++++++++ + 2 files changed, 38 insertions(+) diff --git a/config.def.h b/config.def.h index 22d2171..68b27a7 100644 @@ -29,10 +29,10 @@ index 22d2171..68b27a7 100644 { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_e, togglefullscreen, {0} }, diff --git a/dwl.c b/dwl.c -index dc0437e..9e345d6 100644 +index a2711f6..49f65ba 100644 --- a/dwl.c +++ b/dwl.c -@@ -297,6 +297,7 @@ static int keyrepeat(void *data); +@@ -301,6 +301,7 @@ static int keyrepeat(void *data); static void killclient(const Arg *arg); static void locksession(struct wl_listener *listener, void *data); static void mapnotify(struct wl_listener *listener, void *data); @@ -40,7 +40,7 @@ index dc0437e..9e345d6 100644 static void maximizenotify(struct wl_listener *listener, void *data); static void monocle(Monitor *m); static void motionabsolute(struct wl_listener *listener, void *data); -@@ -1700,6 +1701,40 @@ unset_fullscreen: +@@ -1748,6 +1749,41 @@ unset_fullscreen: } } @@ -77,10 +77,11 @@ index dc0437e..9e345d6 100644 + i++; + } +} ++ + void maximizenotify(struct wl_listener *listener, void *data) { -- -2.45.2 +2.46.0