mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-08 12:14:50 +00:00
update readme to new guidelines, rebase patches onto 0.7
This commit is contained in:
parent
942967d7a1
commit
67cf08d27f
@ -1,16 +1,16 @@
|
|||||||
### Description
|
### 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`.
|
For gaps, apply `mastercolumn-gaps.patch` on top of `mastercolumn.patch` and `gaps.patch`.
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
##### `mastercolumn.patch`
|
##### `mastercolumn.patch`
|
||||||
- [git branch](https://codeberg.org/dsst/dwl/src/branch/mastercolumn)
|
- [git branch](/dsst/dwl/src/branch/mastercolumn)
|
||||||
- [2024-07-13](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn.patch)
|
- [0.7](/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn.patch)
|
||||||
|
|
||||||
##### `mastercolumn-gaps.patch`
|
##### `mastercolumn-gaps.patch`
|
||||||
- [git branch](https://codeberg.org/dsst/dwl/src/branch/mastercolumn-gaps)
|
- [git branch](/dsst/dwl/src/branch/mastercolumn-gaps)
|
||||||
- [2024-07-16](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn-gaps.patch)
|
- [0.7](/dwl/dwl-patches/raw/branch/main/patches/mastercolumn/mastercolumn-gaps.patch)
|
||||||
|
|
||||||
### Authors
|
### Authors
|
||||||
- [dsst](https://codeberg.org/dsst)
|
- [dsst](https://codeberg.org/dsst)
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
From 64ef30f1970de25542dfcf1ed617d354558c69eb Mon Sep 17 00:00:00 2001
|
From eb0c6ff53ba823f26d13f18627a084959c353627 Mon Sep 17 00:00:00 2001
|
||||||
From: moe <moemmakki@gmail.com>
|
From: moe <moemmakki@gmail.com>
|
||||||
Date: Sat, 13 Jul 2024 13:02:34 -0400
|
Date: Sat, 10 Aug 2024 15:58:15 -0400
|
||||||
Subject: [PATCH] init mastercolumn
|
Subject: [PATCH] add mastercolumn layout
|
||||||
|
|
||||||
---
|
---
|
||||||
config.def.h | 2 ++
|
config.def.h | 2 ++
|
||||||
dwl.c | 35 +++++++++++++++++++++++++++++++++++
|
dwl.c | 36 ++++++++++++++++++++++++++++++++++++
|
||||||
2 files changed, 37 insertions(+)
|
2 files changed, 38 insertions(+)
|
||||||
|
|
||||||
diff --git a/config.def.h b/config.def.h
|
diff --git a/config.def.h b/config.def.h
|
||||||
index 22d2171..68b27a7 100644
|
index 22d2171..68b27a7 100644
|
||||||
@ -29,10 +29,10 @@ index 22d2171..68b27a7 100644
|
|||||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
|
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
|
||||||
{ MODKEY, XKB_KEY_e, togglefullscreen, {0} },
|
{ MODKEY, XKB_KEY_e, togglefullscreen, {0} },
|
||||||
diff --git a/dwl.c b/dwl.c
|
diff --git a/dwl.c b/dwl.c
|
||||||
index dc0437e..9e345d6 100644
|
index a2711f6..49f65ba 100644
|
||||||
--- a/dwl.c
|
--- a/dwl.c
|
||||||
+++ b/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 killclient(const Arg *arg);
|
||||||
static void locksession(struct wl_listener *listener, void *data);
|
static void locksession(struct wl_listener *listener, void *data);
|
||||||
static void mapnotify(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 maximizenotify(struct wl_listener *listener, void *data);
|
||||||
static void monocle(Monitor *m);
|
static void monocle(Monitor *m);
|
||||||
static void motionabsolute(struct wl_listener *listener, void *data);
|
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++;
|
+ i++;
|
||||||
+ }
|
+ }
|
||||||
+}
|
+}
|
||||||
|
+
|
||||||
+
|
+
|
||||||
void
|
void
|
||||||
maximizenotify(struct wl_listener *listener, void *data)
|
maximizenotify(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
--
|
--
|
||||||
2.45.2
|
2.46.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user