mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-03-22 00:41:30 +00:00
bottomstack: update for 0.8 and abandoned patch adopted by unixchad
This commit is contained in:
parent
f8d1cfad11
commit
fccf60a13d
@ -15,12 +15,14 @@ bstack (TTT) bstackhoriz (===)
|
|||||||
|
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
|
- [v0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/bottomstack/bottomstack.patch)
|
||||||
- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.6-b/bottomstack)
|
- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.6-b/bottomstack)
|
||||||
- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/20de07dc8759200c8a4c9651475acb331d245890/patches/bottomstack/bottomstack.patch)
|
- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/20de07dc8759200c8a4c9651475acb331d245890/patches/bottomstack/bottomstack.patch)
|
||||||
- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/0f4e40fee49d1b8b430778e241b29496ae3b3b70/bottomstack/bottomstack.patch)
|
- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/0f4e40fee49d1b8b430778e241b29496ae3b3b70/bottomstack/bottomstack.patch)
|
||||||
- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/5368aa392c7ebf8d7d24c232b80cfae1be457d41/bottomstack/bottomstack.patch)
|
- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/5368aa392c7ebf8d7d24c232b80cfae1be457d41/bottomstack/bottomstack.patch)
|
||||||
|
|
||||||
### Authors
|
### Authors
|
||||||
|
- [unixchad](https://codeberg.org/unixchad)
|
||||||
- [wochap](https://codeberg.org/wochap)
|
- [wochap](https://codeberg.org/wochap)
|
||||||
- [DanielMowitz](https://github.com/DanielMowitz)
|
- [DanielMowitz](https://github.com/DanielMowitz)
|
||||||
- [Abanoub8](https://github.com/Abanoub8)
|
- [Abanoub8](https://github.com/Abanoub8)
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
From b352fb08f40b1ee2d8c4748be4922df711e3aaa9 Mon Sep 17 00:00:00 2001
|
From 86e379b187bcc9f8f5896a87309474fcf3736de9 Mon Sep 17 00:00:00 2001
|
||||||
From: wochap <gean.marroquin@gmail.com>
|
From: nate zhou <gnuunixchad@outlook.com>
|
||||||
Date: Fri, 5 Jul 2024 10:44:29 -0500
|
Date: Sat, 28 Feb 2026 21:29:53 +0800
|
||||||
Subject: [PATCH] implement bottomstack
|
Subject: [PATCH] Patch: bottomstack-0.8.patch
|
||||||
|
|
||||||
---
|
---
|
||||||
config.def.h | 4 +++
|
config.def.h | 4 +++
|
||||||
@ -9,10 +9,10 @@ Subject: [PATCH] implement bottomstack
|
|||||||
2 files changed, 88 insertions(+)
|
2 files changed, 88 insertions(+)
|
||||||
|
|
||||||
diff --git a/config.def.h b/config.def.h
|
diff --git a/config.def.h b/config.def.h
|
||||||
index 22d2171..5aac3e9 100644
|
index 8a6eda0..ae87518 100644
|
||||||
--- a/config.def.h
|
--- a/config.def.h
|
||||||
+++ b/config.def.h
|
+++ b/config.def.h
|
||||||
@@ -34,6 +34,8 @@ static const Layout layouts[] = {
|
@@ -33,6 +33,8 @@ static const Layout layouts[] = {
|
||||||
{ "[]=", tile },
|
{ "[]=", tile },
|
||||||
{ "><>", NULL }, /* no layout function means floating behavior */
|
{ "><>", NULL }, /* no layout function means floating behavior */
|
||||||
{ "[M]", monocle },
|
{ "[M]", monocle },
|
||||||
@ -21,20 +21,20 @@ index 22d2171..5aac3e9 100644
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* monitors */
|
/* monitors */
|
||||||
@@ -139,6 +141,8 @@ static const Key keys[] = {
|
@@ -135,6 +137,8 @@ static const Key keys[] = {
|
||||||
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
|
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
|
||||||
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
|
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
|
||||||
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
|
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
|
||||||
+ { MODKEY, XKB_KEY_u, setlayout, {.v = &layouts[3]} },
|
+ { MODKEY, XKB_KEY_u, setlayout, {.v = &layouts[3]} },
|
||||||
+ { MODKEY, XKB_KEY_o, setlayout, {.v = &layouts[4]} },
|
+ { MODKEY, XKB_KEY_o, setlayout, {.v = &layouts[4]} },
|
||||||
{ MODKEY, XKB_KEY_space, setlayout, {0} },
|
{ MODKEY, XKB_KEY_space, setlayout, {0} },
|
||||||
{ 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..5648d5f 100644
|
index 44f3ad9..68c25a5 100644
|
||||||
--- a/dwl.c
|
--- a/dwl.c
|
||||||
+++ b/dwl.c
|
+++ b/dwl.c
|
||||||
@@ -57,6 +57,7 @@
|
@@ -59,6 +59,7 @@
|
||||||
#include <wlr/types/wlr_xdg_decoration_v1.h>
|
#include <wlr/types/wlr_xdg_decoration_v1.h>
|
||||||
#include <wlr/types/wlr_xdg_output_v1.h>
|
#include <wlr/types/wlr_xdg_output_v1.h>
|
||||||
#include <wlr/types/wlr_xdg_shell.h>
|
#include <wlr/types/wlr_xdg_shell.h>
|
||||||
@ -50,8 +50,8 @@ index dc0437e..5648d5f 100644
|
|||||||
+static void bstackhoriz(Monitor *m);
|
+static void bstackhoriz(Monitor *m);
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
static const char broken[] = "broken";
|
static pid_t child_pid = -1;
|
||||||
@@ -3160,3 +3163,84 @@ main(int argc, char *argv[])
|
@@ -3213,3 +3216,84 @@ main(int argc, char *argv[])
|
||||||
usage:
|
usage:
|
||||||
die("Usage: %s [-v] [-d] [-s startup command]", argv[0]);
|
die("Usage: %s [-v] [-d] [-s startup command]", argv[0]);
|
||||||
}
|
}
|
||||||
@ -137,4 +137,5 @@ index dc0437e..5648d5f 100644
|
|||||||
+ }
|
+ }
|
||||||
+}
|
+}
|
||||||
--
|
--
|
||||||
2.45.1
|
2.53.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user