Compare commits

...
4 Commits
Author SHA1 Message Date
julmajustus fd5e06a50d ipc: update for v0.9 2026-09-21 21:49:55 +03:00
julmajustus 701d0756a1 btrtile: update 2026-09-21 21:31:58 +03:00
julmajustus 40da88b1ee fullscreenadaptivesync: update 2026-09-21 21:05:28 +03:00
julmajustus 85cc52630c simple_scratchpad: update 2026-09-21 20:57:11 +03:00
11 changed files with 34 additions and 48 deletions
+4 -4
View File
@@ -75,10 +75,10 @@ If resizing feels sluggish, try compiling dwl with -O2/-O3.
### Download
- [git branch](https://codeberg.org/julmajustus/dwl/src/branch/btrtile-0.9)
- [0.8](./btrtile-v0.8.patch)
- [0.8 WITH gaps](./btrtile-v0.8-gaps.patch)
- [main-d16036e](./btrtile-d16036e.patch)
- [main-d16036e WITH gaps](./btrtile-gaps-d16036e.patch)
- [btrtile-0.9](/dwl/dwl-patches/raw/branch/main/patches/btrtile/btrtile-v0.9.patch)
- [btrtile-0.9 WITH gaps](/dwl/dwl-patches/raw/branch/main/patches/btrtile/btrtile-gaps-v0.9.patch)
- [btrtile-0.8](/dwl/dwl-patches/raw/branch/main/patches/btrtile/btrtile-v0.8.patch)
- [btrtile-0.8 WITH gaps](/dwl/dwl-patches/raw/branch/main/patches/btrtile/btrtile-v0.8-gaps.patch)
### Authors
- [julmajustus](https://codeberg.org/julmajustus)
@@ -1,15 +1,8 @@
From 6084ff30e1a85ab76b50e7827208337dbccc1926 Mon Sep 17 00:00:00 2001
From 3703c920073a98d48c386465f86d8b9168ab8121 Mon Sep 17 00:00:00 2001
From: julmajustus <julmajustus@tutanota.com>
Date: Sun, 20 Sep 2026 01:35:56 +0300
Subject: [PATCH] btrtile: refactor and few features and code simplification
Date: Mon, 21 Sep 2026 21:23:37 +0300
Subject: [PATCH] btrtile: update for v0.9
- Refactor to current upstream main
- Added more user toggles to control the behaviour of btrtile into
config.h
- Simplified the btrtile gapps logic
- Simplified the changes to dwl.c
- Added two keybind functions to swap and toggle splits
- Minor code cleanups
---
Makefile | 3 +-
btrtile.h | 884 +++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -34,7 +27,7 @@ index 8304245..063ba0a 100644
# wayland-scanner is a tool which generates C headers and rigging for Wayland
diff --git a/btrtile.h b/btrtile.h
new file mode 100644
index 0000000..9f91be2
index 0000000..b202fcd
--- /dev/null
+++ b/btrtile.h
@@ -0,0 +1,884 @@
@@ -48,7 +41,7 @@ index 0000000..9f91be2
+/* By: julmajustus <julmajustus@tutanota.com> !!: !!:! !!! */
+/* ::! :!: !:! */
+/* Created: 2024/12/15 00:26:07 by julmajustus :: ::::::: :: */
+/* Updated: 2026/09/20 01:07:46 by julmajustus : : : : : : */
+/* Updated: 2026/09/21 21:20:08 by julmajustus : : : : : : */
+/* */
+/* ************************************************************************** */
+
@@ -457,7 +450,7 @@ index 0000000..9f91be2
+ return;
+ }
+
+ if (right_count == 0) {
+ if (right_count == 0) {
+ layout_node(m, node->left, area, 0);
+ return;
+ }
@@ -895,7 +888,7 @@ index 0000000..9f91be2
+
+ /* If no client was found at cursor position fallback to closest. */
+ wl_list_for_each_reverse(c, &clients, link) {
+ if (VISIBLEON(c, m) && !c->isfloating && !c->isfullscreen && c->node) {
+ if (VISIBLEON(c, m) && !c->isfloating && !c->isfullscreen && c->node) {
+ dx = 0, dy = 0;
+
+ if (x < c->geom.x) {
@@ -913,7 +906,7 @@ index 0000000..9f91be2
+ }
+
+ dist = dx * dx + dy * dy;
+ if (dist < mindist) {
+ if (dist < mindist) {
+ mindist = dist;
+ closest = c;
+ }
@@ -1,15 +1,8 @@
From fd672091bce3ab7db7ab89725db94df8a7bb5a6d Mon Sep 17 00:00:00 2001
From ea691d9618f5cd500d539e6fd16856b2554828ff Mon Sep 17 00:00:00 2001
From: julmajustus <julmajustus@tutanota.com>
Date: Sun, 20 Sep 2026 01:30:50 +0300
Subject: [PATCH] btrtile: refactor and few features and code simplification
Date: Mon, 21 Sep 2026 21:20:29 +0300
Subject: [PATCH] btrtile: update for v0.9
- Refactor to current upstream main
- Added more user toggles to control the behaviour of btrtile into
config.h
- Simplified the btrtile gapps logic
- Simplified the changes to dwl.c
- Added two keybind functions to swap and toggle splits
- Minor code cleanups
---
Makefile | 3 +-
btrtile.h | 884 +++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -34,7 +27,7 @@ index 8304245..063ba0a 100644
# wayland-scanner is a tool which generates C headers and rigging for Wayland
diff --git a/btrtile.h b/btrtile.h
new file mode 100644
index 0000000..9f91be2
index 0000000..b202fcd
--- /dev/null
+++ b/btrtile.h
@@ -0,0 +1,884 @@
@@ -48,7 +41,7 @@ index 0000000..9f91be2
+/* By: julmajustus <julmajustus@tutanota.com> !!: !!:! !!! */
+/* ::! :!: !:! */
+/* Created: 2024/12/15 00:26:07 by julmajustus :: ::::::: :: */
+/* Updated: 2026/09/20 01:07:46 by julmajustus : : : : : : */
+/* Updated: 2026/09/21 21:20:08 by julmajustus : : : : : : */
+/* */
+/* ************************************************************************** */
+
@@ -457,7 +450,7 @@ index 0000000..9f91be2
+ return;
+ }
+
+ if (right_count == 0) {
+ if (right_count == 0) {
+ layout_node(m, node->left, area, 0);
+ return;
+ }
@@ -895,7 +888,7 @@ index 0000000..9f91be2
+
+ /* If no client was found at cursor position fallback to closest. */
+ wl_list_for_each_reverse(c, &clients, link) {
+ if (VISIBLEON(c, m) && !c->isfloating && !c->isfullscreen && c->node) {
+ if (VISIBLEON(c, m) && !c->isfloating && !c->isfullscreen && c->node) {
+ dx = 0, dy = 0;
+
+ if (x < c->geom.x) {
@@ -913,7 +906,7 @@ index 0000000..9f91be2
+ }
+
+ dist = dx * dx + dy * dy;
+ if (dist < mindist) {
+ if (dist < mindist) {
+ mindist = dist;
+ closest = c;
+ }
+2 -2
View File
@@ -23,8 +23,8 @@ Adds a function that automatically enables adaptive sync/VRR when a fullscreen c
### Download
- [git branch](https://codeberg.org/julmajustus/dwl/src/branch/fullscreenadaptivesync-0.9)
- [0.8](./fullscreenadaptivesync-v0.8.patch)
- [main-d16036e](./fullscreenadaptivesync-d16036e.patch)
- [fullscreenadaptivesync-v0.9](/dwl/dwl-patches/raw/branch/main/patches/fullscreenadaptivesync/fullscreenadaptivesync-v0.9.patch)
- [fullscreenadaptivesync-v0.8](/dwl/dwl-patches/raw/branch/main/patches/fullscreenadaptivesync/fullscreenadaptivesync-v0.8.patch)
### Authors
- [julmajustus](https://codeberg.org/julmajustus)
+1 -1
View File
@@ -7,7 +7,7 @@ Note to [pertag](../pertag/) users: apply [this](./ipcpertag.patch) for ipc tags
### Download
- [git branch](https://codeberg.org/julmajustus/dwl/src/branch/ipc-0.9)
- [main-d16036e](./ipc.patch)
- [v0.9](/dwl/dwl-patches/raw/branch/main/patches/ipc/ipc.patch)
### Authors
- [MadcowOG](https://github.com/MadcowOG)
+3 -3
View File
@@ -1,7 +1,7 @@
From e377ecd4c9f43282c8e795a1f3643c33cc5cabae Mon Sep 17 00:00:00 2001
From e3b5143bbc21a13cf55b843d8a0f7f042f299595 Mon Sep 17 00:00:00 2001
From: julmajustus <julmajustus@tutanota.com>
Date: Sun, 20 Sep 2026 02:06:41 +0300
Subject: [PATCH] focus-tagset-output init
Date: Mon, 21 Sep 2026 21:43:44 +0300
Subject: [PATCH] ipc: update focus-tagset-output patch for v0.9
---
dwl.c | 1 +
+3 -3
View File
@@ -1,7 +1,7 @@
From ef4e12f827e50bbbe4b1cb211cdf1f5420fc87bd Mon Sep 17 00:00:00 2001
From 14ba1bbe5c64e58e6dc1194a8269c7e83c072195 Mon Sep 17 00:00:00 2001
From: julmajustus <julmajustus@tutanota.com>
Date: Sun, 20 Sep 2026 02:01:46 +0300
Subject: [PATCH] ipc init
Date: Mon, 21 Sep 2026 21:39:40 +0300
Subject: [PATCH] ipc: update for v0.9
---
Makefile | 13 +-
+3 -3
View File
@@ -1,7 +1,7 @@
From 90a2d3941de8842074157a7144c901eb316ba0e2 Mon Sep 17 00:00:00 2001
From cfcff31000041511b97c928645f2daef3127ba09 Mon Sep 17 00:00:00 2001
From: julmajustus <julmajustus@tutanota.com>
Date: Sun, 20 Sep 2026 02:04:17 +0300
Subject: [PATCH] ipcpertag init
Date: Mon, 21 Sep 2026 21:41:48 +0300
Subject: [PATCH] ipc: update ipcpertag for v0.9
---
dwl.c | 50 +++++++++++++++++++++++++++++++++++---------------
+2 -2
View File
@@ -22,8 +22,8 @@ Adds functions to add, toggle and remove clients to/from scratchpad client lists
### Download
- [git branch](https://codeberg.org/julmajustus/dwl/src/branch/simple_scratchpad-0.9)
- [main-d16036e](./simple_scratchpad-d16036e.patch)
- [scratchpad-v0.8.patch](./simple_scratchpad-v0.8.patch)
- [scratchpad-v0.9.patch](/dwl/dwl-patches/raw/branch/main/patches/simple_scratchpad/simple_scratchpad-v0.9.patch)
- [scratchpad-v0.8.patch](/dwl/dwl-patches/raw/branch/main/patches/simple_scratchpad/simple_scratchpad-v0.8.patch)
### Authors
- [julmajustus](https://codeberg.org/julmajustus)