From 1b782ea9995aa55e75875892e4fa2f0b6bb5d955 Mon Sep 17 00:00:00 2001 From: wochap Date: Tue, 9 Jul 2024 11:08:12 -0500 Subject: [PATCH] update wochap patches README.md --- patches/cursortheme/README.md | 6 +++ patches/customfloat/README.md | 1 + patches/gestures/README.md | 1 + patches/minimalborders/README.md | 1 + patches/scenefx/README.md | 68 +++++++++++++++++++------------ patches/swapandfocusdir/README.md | 1 + 6 files changed, 52 insertions(+), 26 deletions(-) diff --git a/patches/cursortheme/README.md b/patches/cursortheme/README.md index 7f56e30..ac94800 100644 --- a/patches/cursortheme/README.md +++ b/patches/cursortheme/README.md @@ -1,8 +1,14 @@ ### Description Adds ability to change cursor's theme and size. +```c +static const char *cursor_theme = NULL; +static const char cursor_size[] = "24"; /* Make sure it's a valid integer, otherwise things will break */ +``` + ### Download - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/cursortheme) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/cursortheme/cursortheme.patch) - [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/b828e21717fa584affeb3245359c3ab615759fa4/cursortheme/cursortheme.patch) - [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/c676de59d51e613bd52ac46c77a24b1cac9a61a1/cursortheme/cursortheme.patch) diff --git a/patches/customfloat/README.md b/patches/customfloat/README.md index 916f5af..9f2bda5 100644 --- a/patches/customfloat/README.md +++ b/patches/customfloat/README.md @@ -15,6 +15,7 @@ The "Monitor area" refers to the space enclosed by the green rectangle, while th ### Download - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/customfloat) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/customfloat/customfloat.patch) - [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/98cba933c9f4099202e54f39acbf17e05bde828a/customfloat/customfloat.patch) - [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/bf098459219e7a473d8edb4c0435aeb6a4b82e38/customfloat/customfloat.patch) diff --git a/patches/gestures/README.md b/patches/gestures/README.md index 5f1957b..f69a117 100644 --- a/patches/gestures/README.md +++ b/patches/gestures/README.md @@ -13,6 +13,7 @@ static const Gesture gestures[] = { ### Download - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/gestures) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/gestures/gestures.patch) - [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/be3735bc6a5c64ff76c200a8679453bd179be456/gestures/gestures.patch) - [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/655fd2916c1bcaa022ce6dcdfb370051cf64df66/gestures/gestures.patch) diff --git a/patches/minimalborders/README.md b/patches/minimalborders/README.md index f18f9a1..2a670c9 100644 --- a/patches/minimalborders/README.md +++ b/patches/minimalborders/README.md @@ -26,6 +26,7 @@ After applying the patch ### Download - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/minimalborders) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/minimalborders/minimalborders.patch) - [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/7a5c3420822074c544fa102e030b7c30aa6b6be8/minimalborders/minimalborders.patch) - [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/be3735bc6a5c64ff76c200a8679453bd179be456/minimalborders/minimalborders.patch) diff --git a/patches/scenefx/README.md b/patches/scenefx/README.md index 754e08c..663e622 100644 --- a/patches/scenefx/README.md +++ b/patches/scenefx/README.md @@ -1,5 +1,6 @@ ### Description -Implement https://github.com/wlrfx/scenefx (commit de4ec10e1ff9347b5833f00f8615d760d9378c99) in DWL. + +Implement https://github.com/wlrfx/scenefx ```c /* available options */ @@ -31,7 +32,7 @@ static const struct blur_data blur_data = { }; ``` -> **NOTE:** If you are using nix, I have packaged scenefx https://github.com/wochap/nix-config/blob/main/packages/scenefx/default.nix +> **NOTE:** If you are using nix with flakes, scenefx has a flake for scenefx https://github.com/wlrfx/scenefx/blob/main/flake.nix > **NOTE:** Some GTK apps are being cut off when they have shadows enabled. You can use the `shadow_ignore_list` option to prevent shadows from being rendered on those apps @@ -39,30 +40,6 @@ static const struct blur_data blur_data = { > **NOTE:** In DWL's Makefile `scenefx` must be placed before wlroots, e.g. `PKGS = scenefx wlroots wayland-server ...` -**IMPORTANT:** This patch requires you to build DWL with the dependencies of WLROOTS: -* **scenefx** -* libGL -* libcap -* libinput -* libpng -* libxkbcommon -* mesa -* pixman -* seatd -* vulkan-loader -* wayland -* wayland-protocols -* xorg.libX11 -* xorg.xcbutilerrors -* xorg.xcbutilimage -* xorg.xcbutilrenderutil -* xorg.xcbutilwm -* xwayland (optional) -* ffmpeg -* hwdata -* libliftoff -* libdisplay-info -
Preview
@@ -72,9 +49,48 @@ static const struct blur_data blur_data = {
 
### Download + - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/scenefx) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/scenefx/scenefx.patch) + + **IMPORTANT:** This patch only works with the `2ec3505248e819191c37cb831197629f373326fb` commit on the `main` branch of `scenefx`, therefore, it does not support **blur**. + + **IMPORTANT:** This patch requires you to build DWL with the following dependencies + + - **scenefx** + - libGL + - [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/6e3a57ffd16dafa31900b7e89e51672bd7bcc1e8/scenefx/scenefx.patch) + + **IMPORTANT:** This patch only works with the `de4ec10e1ff9347b5833f00f8615d760d9378c99` commit on the `wlr_scene_blur` branch of `scenefx`, as it adds support for **blur**. + + **IMPORTANT:** This patch requires you to build DWL with the dependencies of WLROOTS: + + - **scenefx** + - libGL + - libcap + - libinput + - libpng + - libxkbcommon + - mesa + - pixman + - seatd + - vulkan-loader + - wayland + - wayland-protocols + - xorg.libX11 + - xorg.xcbutilerrors + - xorg.xcbutilimage + - xorg.xcbutilrenderutil + - xorg.xcbutilwm + - xwayland (optional) + - ffmpeg + - hwdata + - libliftoff + - libdisplay-info + - [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/7a5c3420822074c544fa102e030b7c30aa6b6be8/scenefx/scenefx.patch) ### Authors + - [wochap](https://codeberg.org/wochap) diff --git a/patches/swapandfocusdir/README.md b/patches/swapandfocusdir/README.md index 9082bfd..2861a07 100644 --- a/patches/swapandfocusdir/README.md +++ b/patches/swapandfocusdir/README.md @@ -7,6 +7,7 @@ Swap the focused window with the window (no floating) to the left, right, above, ### Download - [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/swapandfocusdir) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/swapandfocusdir/swapandfocusdir.patch) - [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/swapandfocusdir/swapandfocusdir.patch) ### Authors