From 9c5d5d85f3ac780e7a14d5d0535e3349ce8b8f53 Mon Sep 17 00:00:00 2001 From: A Frederick Christensen Date: Wed, 24 Apr 2024 20:20:07 -0500 Subject: [PATCH] dwl-patches overhaul Eliminated wiki. Individual patches have a README.md explanation in their own subdirectory. Simplified submission of new patches and maintenance of existing patches. Instructions page (README.md autodisplayed) is now at https://codeberg.org/dwl/dwl-patches/ --- README.md | 68 ++++++++++++++- patches/alwayscenter/README.md | 9 ++ .../alwayscenter}/alwayscenter.patch | 0 patches/attachtop/README.md | 13 +++ .../attachtop}/attachtop.patch | 0 patches/autostart/README.md | 13 +++ .../autostart}/autostart.patch | 0 patches/bar/README.md | 31 +++++++ .../bar/bar-with-barpadding-and-border.png | Bin 0 -> 3954 bytes {bar => patches/bar}/bar.patch | 0 patches/barborder/README.md | 10 +++ .../barborder}/barborder.patch | 0 patches/barheight/README.md | 10 +++ .../barheight}/barheight.patch | 0 patches/barpadding/README.md | 10 +++ .../barpadding}/barpadding.patch | 0 patches/borders/README.md | 36 ++++++++ {borders => patches/borders}/borders.patch | 0 patches/bottomstack/README.md | 26 ++++++ .../bottomstack}/bottomstack.patch | 0 patches/buttonbystate/README.md | 10 +++ .../buttonbystate}/buttonbystate.patch | 0 patches/center-terminal/README.md | 13 +++ .../center-terminal}/center-terminal.patch | 0 patches/centeredmaster/README.md | 33 ++++++++ .../centeredmaster}/centeredmaster.patch | 0 patches/cfact/README.md | 21 +++++ {cfact => patches/cfact}/cfact.patch | 0 patches/chainkeys/README.md | 12 +++ .../chainkeys}/chainkeys.patch | 0 patches/client-opacity/README.md | 18 ++++ .../client-opacity}/client-opacity.patch | 0 patches/column/README.md | 9 ++ {column => patches/column}/column.patch | 0 patches/coredump/README.md | 9 ++ {coredump => patches/coredump}/coredump.patch | 0 patches/cursortheme/README.md | 11 +++ .../cursortheme}/cursortheme.patch | 0 patches/customfloat/README.md | 23 +++++ .../customfloat}/customfloat.patch | 0 .../README.md | 18 ++++ .../define-modkey-with-make-argument.patch | 0 patches/dim-unfocused/README.md | 11 +++ .../dim-unfocused}/dim-unfocused.patch | 0 patches/dragmfact/README.md | 9 ++ .../dragmfact}/dragmfact.patch | 0 patches/en-keycodes/README.md | 11 +++ .../en-keycodes}/en-keycodes.patch | 0 patches/env/README.md | 8 ++ {env => patches/env}/env.patch | 0 patches/fakefullscreenclient/README.md | 8 ++ .../fakefullscreenclient.patch | 0 patches/fallback/README.md | 8 ++ {fallback => patches/fallback}/fallback.patch | 0 patches/focusdir/README.md | 9 ++ {focusdir => patches/focusdir}/focusdir.patch | 0 patches/foreign-toplevel-management/README.md | 9 ++ .../foreign-toplevel-management.patch | 0 patches/gaplessgrid/README.md | 15 ++++ .../gaplessgrid}/gaplessgrid.patch | 0 patches/gaps/README.md | 13 +++ {gaps => patches/gaps}/gaps.patch | 0 patches/gestures/README.md | 20 +++++ {gestures => patches/gestures}/gestures.patch | 0 patches/headless/README.md | 11 +++ {headless => patches/headless}/headless.patch | 0 patches/hide-behind-fullscreen/README.md | 9 ++ .../hide-behind-fullscreen.patch | 0 patches/hide-behind-monocle/README.md | 9 ++ .../hide-behind-monocle.patch | 0 patches/hide_vacant_tags/README.md | 11 +++ .../hide_vacant_tags}/hide_vacant_tags.patch | 0 patches/hiderule/README.md | 9 ++ {hiderule => patches/hiderule}/hiderule.patch | 0 patches/ipc/README.md | 19 +++++ {ipc => patches/ipc}/ipc.patch | 0 patches/kblayout/README.md | 29 +++++++ {kblayout => patches/kblayout}/kblayout.patch | 0 patches/keycodes/README.md | 18 ++++ {keycodes => patches/keycodes}/keycodes.patch | 0 patches/less-simple-touch-input/README.md | 21 +++++ .../less-simple-touch-input.patch | 0 patches/limitnmaster/README.md | 9 ++ .../limitnmaster}/limitnmaster.patch | 0 patches/lockedkeys/README.md | 23 +++++ .../lockedkeys}/lockedkeys.patch | 0 patches/master-right/README.md | 9 ++ .../master-right}/master-right.patch | 0 patches/minimalborders/README.md | 33 ++++++++ .../minimalborders}/minimalborders.patch | 0 patches/modes/README.md | 35 ++++++++ {modes => patches/modes}/modes.patch | 0 patches/monfig/README.md | 9 ++ {monfig => patches/monfig}/monfig.patch | 0 patches/movecenter/README.md | 24 ++++++ .../movecenter}/movecenter.patch | 0 patches/moveresizekb/README.md | 20 +++++ .../moveresizekb}/moveresizekb.patch | 0 patches/movestack/README.md | 13 +++ .../movestack}/movestack.patch | 0 patches/namedscratchpads/README.md | 15 ++++ .../namedscratchpads}/namedscratchpads.patch | 0 patches/naturalscrolltrackpad/README.md | 10 +++ .../naturalscrolltrackpad.patch | 0 patches/numlock-capslock/README.md | 9 ++ .../numlock-capslock}/numlock-capslock.patch | 0 patches/perinputconfig/README.md | 12 +++ .../perinputconfig}/perinputconfig-v0.5.patch | 0 .../perinputconfig}/perinputconfig.patch | 0 patches/pertag/README.md | 11 +++ {pertag => patches/pertag}/pertag.patch | 0 .../pointer-gestures-unstable-v1/README.md | 14 +++ .../pointer-gestures-unstable-v1.patch | 0 patches/press_repeat_release/README.md | 11 +++ .../press_repeat_release.patch | 0 patches/primaryselection/README.md | 10 +++ .../primaryselection}/primaryselection.patch | 0 patches/regexrules/README.md | 19 +++++ .../regexrules}/regexrules.patch | 0 patches/regions/README.md | 11 +++ {regions => patches/regions}/regions.patch | 0 patches/relative-mouse-resize/README.md | 10 +++ .../relative-mouse-resize.patch | 0 patches/remembertags/README.md | 16 ++++ .../remembertags}/remembertags.patch | 0 patches/restore-monitor/README.md | 8 ++ .../restore-monitor}/restore-monitor.patch | 0 patches/right/README.md | 8 ++ {right => patches/right}/right.patch | 0 patches/rotatetags/README.md | 9 ++ .../rotatetags}/rotatetags.patch | 0 patches/scenefx/README.md | 80 ++++++++++++++++++ {scenefx => patches/scenefx}/scenefx.patch | 0 patches/setupenv/README.md | 8 ++ {setupenv => patches/setupenv}/setupenv.patch | 0 patches/shiftview/README.md | 9 ++ .../shiftview}/shiftview.patch | 0 patches/simpleborders/README.md | 8 ++ .../simpleborders}/simpleborders.patch | 0 patches/singlemaster/README.md | 9 ++ .../singlemaster}/singlemaster.patch | 0 patches/singletagset/README.md | 9 ++ .../singletagset}/singletagset.patch | 0 patches/skipfocus/README.md | 16 ++++ .../skipfocus}/skipfocus.patch | 0 patches/smartborders/README.md | 12 +++ .../smartborders}/smartborders.patch | 0 patches/snail/README.md | 9 ++ {snail => patches/snail}/snail.patch | 0 patches/swallow/README.md | 25 ++++++ {swallow => patches/swallow}/swallow.patch | 0 patches/swapandfocusdir/README.md | 13 +++ .../swapandfocusdir}/swapandfocusdir.patch | 0 patches/switchtotag/README.md | 9 ++ .../switchtotag}/switchtotag.patch | 0 patches/tab/README.md | 9 ++ {tab => patches/tab}/tab.patch | 0 patches/tablet-input/README.md | 12 +++ .../tablet-input}/tablet-input.patch | 0 patches/titleurgent/README.md | 11 +++ .../titleurgent}/titleurgent.patch | 0 patches/toggle_constraints/README.md | 17 ++++ .../toggle_constraints.patch | 0 patches/togglekblayout/README.md | 11 +++ .../togglekblayout}/togglekblayout.patch | 0 patches/togglekblayoutandoptions/README.md | 9 ++ .../togglekblayoutandoptions.patch | 0 patches/unclutter/README.md | 13 +++ .../unclutter}/unclutter.patch | 0 patches/vanitygaps/README.md | 10 +++ .../vanitygaps}/vanitygaps.patch | 0 patches/varcol/README.md | 15 ++++ {varcol => patches/varcol}/varcol.patch | 0 patches/viewnextocctag/README.md | 9 ++ .../viewnextocctag}/viewnextocctag.patch | 0 patches/virtual-pointer/README.md | 12 +++ .../virtual-pointer}/virtual-pointer.patch | 0 patches/winview/README.md | 34 ++++++++ {winview => patches/winview}/winview.patch | 0 patches/xwayland-handle-minimize/README.md | 9 ++ .../xwayland-handle-minimize.patch | 0 patches/zoomswap/README.md | 52 ++++++++++++ {zoomswap => patches/zoomswap}/zoomswap.patch | 0 183 files changed, 1434 insertions(+), 4 deletions(-) create mode 100644 patches/alwayscenter/README.md rename {alwayscenter => patches/alwayscenter}/alwayscenter.patch (100%) create mode 100644 patches/attachtop/README.md rename {attachtop => patches/attachtop}/attachtop.patch (100%) create mode 100644 patches/autostart/README.md rename {autostart => patches/autostart}/autostart.patch (100%) create mode 100644 patches/bar/README.md create mode 100644 patches/bar/bar-with-barpadding-and-border.png rename {bar => patches/bar}/bar.patch (100%) create mode 100644 patches/barborder/README.md rename {barborder => patches/barborder}/barborder.patch (100%) create mode 100644 patches/barheight/README.md rename {barheight => patches/barheight}/barheight.patch (100%) create mode 100644 patches/barpadding/README.md rename {barpadding => patches/barpadding}/barpadding.patch (100%) create mode 100644 patches/borders/README.md rename {borders => patches/borders}/borders.patch (100%) create mode 100644 patches/bottomstack/README.md rename {bottomstack => patches/bottomstack}/bottomstack.patch (100%) create mode 100644 patches/buttonbystate/README.md rename {buttonbystate => patches/buttonbystate}/buttonbystate.patch (100%) create mode 100644 patches/center-terminal/README.md rename {center-terminal => patches/center-terminal}/center-terminal.patch (100%) create mode 100644 patches/centeredmaster/README.md rename {centeredmaster => patches/centeredmaster}/centeredmaster.patch (100%) create mode 100644 patches/cfact/README.md rename {cfact => patches/cfact}/cfact.patch (100%) create mode 100644 patches/chainkeys/README.md rename {chainkeys => patches/chainkeys}/chainkeys.patch (100%) create mode 100644 patches/client-opacity/README.md rename {client-opacity => patches/client-opacity}/client-opacity.patch (100%) create mode 100644 patches/column/README.md rename {column => patches/column}/column.patch (100%) create mode 100644 patches/coredump/README.md rename {coredump => patches/coredump}/coredump.patch (100%) create mode 100644 patches/cursortheme/README.md rename {cursortheme => patches/cursortheme}/cursortheme.patch (100%) create mode 100644 patches/customfloat/README.md rename {customfloat => patches/customfloat}/customfloat.patch (100%) create mode 100644 patches/define-modkey-with-make-argument/README.md rename {define-modkey-with-make-argument => patches/define-modkey-with-make-argument}/define-modkey-with-make-argument.patch (100%) create mode 100644 patches/dim-unfocused/README.md rename {dim-unfocused => patches/dim-unfocused}/dim-unfocused.patch (100%) create mode 100644 patches/dragmfact/README.md rename {dragmfact => patches/dragmfact}/dragmfact.patch (100%) create mode 100644 patches/en-keycodes/README.md rename {en-keycodes => patches/en-keycodes}/en-keycodes.patch (100%) create mode 100644 patches/env/README.md rename {env => patches/env}/env.patch (100%) create mode 100644 patches/fakefullscreenclient/README.md rename {fakefullscreenclient => patches/fakefullscreenclient}/fakefullscreenclient.patch (100%) create mode 100644 patches/fallback/README.md rename {fallback => patches/fallback}/fallback.patch (100%) create mode 100644 patches/focusdir/README.md rename {focusdir => patches/focusdir}/focusdir.patch (100%) create mode 100644 patches/foreign-toplevel-management/README.md rename {foreign-toplevel-management => patches/foreign-toplevel-management}/foreign-toplevel-management.patch (100%) create mode 100644 patches/gaplessgrid/README.md rename {gaplessgrid => patches/gaplessgrid}/gaplessgrid.patch (100%) create mode 100644 patches/gaps/README.md rename {gaps => patches/gaps}/gaps.patch (100%) create mode 100644 patches/gestures/README.md rename {gestures => patches/gestures}/gestures.patch (100%) create mode 100644 patches/headless/README.md rename {headless => patches/headless}/headless.patch (100%) create mode 100644 patches/hide-behind-fullscreen/README.md rename {hide-behind-fullscreen => patches/hide-behind-fullscreen}/hide-behind-fullscreen.patch (100%) create mode 100644 patches/hide-behind-monocle/README.md rename {hide-behind-monocle => patches/hide-behind-monocle}/hide-behind-monocle.patch (100%) create mode 100644 patches/hide_vacant_tags/README.md rename {hide_vacant_tags => patches/hide_vacant_tags}/hide_vacant_tags.patch (100%) create mode 100644 patches/hiderule/README.md rename {hiderule => patches/hiderule}/hiderule.patch (100%) create mode 100644 patches/ipc/README.md rename {ipc => patches/ipc}/ipc.patch (100%) create mode 100644 patches/kblayout/README.md rename {kblayout => patches/kblayout}/kblayout.patch (100%) create mode 100644 patches/keycodes/README.md rename {keycodes => patches/keycodes}/keycodes.patch (100%) create mode 100644 patches/less-simple-touch-input/README.md rename {less-simple-touch-input => patches/less-simple-touch-input}/less-simple-touch-input.patch (100%) create mode 100644 patches/limitnmaster/README.md rename {limitnmaster => patches/limitnmaster}/limitnmaster.patch (100%) create mode 100644 patches/lockedkeys/README.md rename {lockedkeys => patches/lockedkeys}/lockedkeys.patch (100%) create mode 100644 patches/master-right/README.md rename {master-right => patches/master-right}/master-right.patch (100%) create mode 100644 patches/minimalborders/README.md rename {minimalborders => patches/minimalborders}/minimalborders.patch (100%) create mode 100644 patches/modes/README.md rename {modes => patches/modes}/modes.patch (100%) create mode 100644 patches/monfig/README.md rename {monfig => patches/monfig}/monfig.patch (100%) create mode 100644 patches/movecenter/README.md rename {movecenter => patches/movecenter}/movecenter.patch (100%) create mode 100644 patches/moveresizekb/README.md rename {moveresizekb => patches/moveresizekb}/moveresizekb.patch (100%) create mode 100644 patches/movestack/README.md rename {movestack => patches/movestack}/movestack.patch (100%) create mode 100644 patches/namedscratchpads/README.md rename {namedscratchpads => patches/namedscratchpads}/namedscratchpads.patch (100%) create mode 100644 patches/naturalscrolltrackpad/README.md rename {naturalscrolltrackpad => patches/naturalscrolltrackpad}/naturalscrolltrackpad.patch (100%) create mode 100644 patches/numlock-capslock/README.md rename {numlock-capslock => patches/numlock-capslock}/numlock-capslock.patch (100%) create mode 100644 patches/perinputconfig/README.md rename {perinputconfig => patches/perinputconfig}/perinputconfig-v0.5.patch (100%) rename {perinputconfig => patches/perinputconfig}/perinputconfig.patch (100%) create mode 100644 patches/pertag/README.md rename {pertag => patches/pertag}/pertag.patch (100%) create mode 100644 patches/pointer-gestures-unstable-v1/README.md rename {pointer-gestures-unstable-v1 => patches/pointer-gestures-unstable-v1}/pointer-gestures-unstable-v1.patch (100%) create mode 100644 patches/press_repeat_release/README.md rename {press_repeat_release => patches/press_repeat_release}/press_repeat_release.patch (100%) create mode 100644 patches/primaryselection/README.md rename {primaryselection => patches/primaryselection}/primaryselection.patch (100%) create mode 100644 patches/regexrules/README.md rename {regexrules => patches/regexrules}/regexrules.patch (100%) create mode 100644 patches/regions/README.md rename {regions => patches/regions}/regions.patch (100%) create mode 100644 patches/relative-mouse-resize/README.md rename {relative-mouse-resize => patches/relative-mouse-resize}/relative-mouse-resize.patch (100%) create mode 100644 patches/remembertags/README.md rename {remembertags => patches/remembertags}/remembertags.patch (100%) create mode 100644 patches/restore-monitor/README.md rename {restore-monitor => patches/restore-monitor}/restore-monitor.patch (100%) create mode 100644 patches/right/README.md rename {right => patches/right}/right.patch (100%) create mode 100644 patches/rotatetags/README.md rename {rotatetags => patches/rotatetags}/rotatetags.patch (100%) create mode 100644 patches/scenefx/README.md rename {scenefx => patches/scenefx}/scenefx.patch (100%) create mode 100644 patches/setupenv/README.md rename {setupenv => patches/setupenv}/setupenv.patch (100%) create mode 100644 patches/shiftview/README.md rename {shiftview => patches/shiftview}/shiftview.patch (100%) create mode 100644 patches/simpleborders/README.md rename {simpleborders => patches/simpleborders}/simpleborders.patch (100%) create mode 100644 patches/singlemaster/README.md rename {singlemaster => patches/singlemaster}/singlemaster.patch (100%) create mode 100644 patches/singletagset/README.md rename {singletagset => patches/singletagset}/singletagset.patch (100%) create mode 100644 patches/skipfocus/README.md rename {skipfocus => patches/skipfocus}/skipfocus.patch (100%) create mode 100644 patches/smartborders/README.md rename {smartborders => patches/smartborders}/smartborders.patch (100%) create mode 100644 patches/snail/README.md rename {snail => patches/snail}/snail.patch (100%) create mode 100644 patches/swallow/README.md rename {swallow => patches/swallow}/swallow.patch (100%) create mode 100644 patches/swapandfocusdir/README.md rename {swapandfocusdir => patches/swapandfocusdir}/swapandfocusdir.patch (100%) create mode 100644 patches/switchtotag/README.md rename {switchtotag => patches/switchtotag}/switchtotag.patch (100%) create mode 100644 patches/tab/README.md rename {tab => patches/tab}/tab.patch (100%) create mode 100644 patches/tablet-input/README.md rename {tablet-input => patches/tablet-input}/tablet-input.patch (100%) create mode 100644 patches/titleurgent/README.md rename {titleurgent => patches/titleurgent}/titleurgent.patch (100%) create mode 100644 patches/toggle_constraints/README.md rename {toggle_constraints => patches/toggle_constraints}/toggle_constraints.patch (100%) create mode 100644 patches/togglekblayout/README.md rename {togglekblayout => patches/togglekblayout}/togglekblayout.patch (100%) create mode 100644 patches/togglekblayoutandoptions/README.md rename {togglekblayoutandoptions => patches/togglekblayoutandoptions}/togglekblayoutandoptions.patch (100%) create mode 100644 patches/unclutter/README.md rename {unclutter => patches/unclutter}/unclutter.patch (100%) create mode 100644 patches/vanitygaps/README.md rename {vanitygaps => patches/vanitygaps}/vanitygaps.patch (100%) create mode 100644 patches/varcol/README.md rename {varcol => patches/varcol}/varcol.patch (100%) create mode 100644 patches/viewnextocctag/README.md rename {viewnextocctag => patches/viewnextocctag}/viewnextocctag.patch (100%) create mode 100644 patches/virtual-pointer/README.md rename {virtual-pointer => patches/virtual-pointer}/virtual-pointer.patch (100%) create mode 100644 patches/winview/README.md rename {winview => patches/winview}/winview.patch (100%) create mode 100644 patches/xwayland-handle-minimize/README.md rename {xwayland-handle-minimize => patches/xwayland-handle-minimize}/xwayland-handle-minimize.patch (100%) create mode 100644 patches/zoomswap/README.md rename {zoomswap => patches/zoomswap}/zoomswap.patch (100%) diff --git a/README.md b/README.md index b3f4ad1..aa7feb0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,65 @@ -## Welcome to [dwl-patches](https://codeberg.org/dwl/dwl-patches)! -The dwl project is available at [https://codeberg.org/dwl/dwl](https://codeberg.org/dwl/dwl). -This repository and the associated wiki is exclusively for dwl PATCHES. +# dwl-patches +* A general [dwl wiki](https://codeberg.org/dwl/dwl/wiki) is available at the main [dwl](https://codeberg.org/dwl/dwl) page. +* This repository is exclusively for dwl PATCHES. -Please see the dwl-patches [wiki](https://codeberg.org/dwl/dwl-patches/wiki) for patch descriptions and for [instructions](https://codeberg.org/dwl/dwl-patches/wiki/instructions) on contributing/updating/reporting issues. \ No newline at end of file +## STALE Patches +Many patches previously in regular use do not cleanly apply to the current code base. Following the migration to Codeberg, these stale patch descriptions and details are being stored for the time being at [_STALE_PATCHES]. + +If you are an original author of one of these or you have the inclination to revive one of these, please follow the procedure outlined in [Instructions] for contributing new patches. + +Additionally, when you have write access to this repository, remove the `.md` file from [_STALE_PATCHES] for the patch which you have revived. + +## Patching +Since dwl follows [suckless](https://suckless.org/) philosophy it doesn't provide every feature under the sun. To broaden dwl's functionality, one needs to get familiar with the concept of patching. To get your feet wet, consult [the hacking page](https://suckless.org/hacking/) of the suckless website. + +Since dwl is still taking shape, patches may need to be updated after larger changes to the code. Feel free to [contribute](instructions) updated versions! + +*Note: These external patches are user-submitted content, and the authors of dwl cannot monitor them. Please download and review a patch before using it!* + +## Reporting Issues +- Issues with existing patches can be generated here in the dwl-patches [issues]. Please be sure to "@" reference the patch author in your issue. + +## Creating Patches +1. Create a [Codeberg] account and fork the [dwl] repository. +2. Create a branch in your Codeberg `dwl` repository for the patch you are generating and maintaining. + +## Contributing Patches to `dwl-patches` +1. If you do not have it already, add the remote for the main dwl repository in your local copy: + `git remote add upstream https://codeberg.org/dwl/dwl` +2. In your local repository of dwl, create a .patch file + `git format-patch upstream/main... --stdout > PATCHNAME.patch` +3. Fork [https://codeberg.org/dwl/dwl-patches][dwl-patches] +4. Configure your repository + `git config --local pull.rebase true` +5. In your local copy, add a directory called `patches/PATCHNAME`. Place the `PATCHNAME.patch` you created in step three into the `patches/PATCHNAME` directory. +6. Use the Codeberg web interface to send a pull request to [dwl-patches] (NOT to [dwl]) (Codeberg nicely will generate a URL for you) +7. Add a `README.md` page to the `PATCHNAME` directory using this template (add/remove sections as you like): + ```markdown + ### Description + Insert a short summary of changes that your patch implements. + + ### Download + - [git branch](https://codeberg.org/USERNAME/dwl/src/branch/PATCHNAME) + - [yyyy-mm-dd](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/PATCHNAME/PATCHNAME.patch) + USE THE ^raw^ PATCH LINK HERE + ### Authors + - [YOUR_NICK](https://codeberg.org/USERNAME) + ``` + You may choose to include screenshots (hosted in your patch's subdirectory) in your `README.md`. The process is described [here](https://docs.codeberg.org/markdown/using-images/). + +8. WHEN YOUR PULL REQUEST IS APPROVED, your Codeberg account will also be granted commit access to [dwl-patches]. Once you have write access, you can make direct modifications/upates to your patches instead of pull requests. + +## Updating/Modifying Existing Patches +- If the existing patch is already being maintained by another author, do not make modifications to it without permission. +- Create an issue at [issues] @mentioning the current maintainer +- If you receive no reply for seven days, you may adopt the patch. If you are adopting the patch, you need to maintain a `dwl` branch in your Codeberg repository. +- Modify the `README.md` with new links for your raw patch and for your git branch. **LEAVE PREVIOUS AUTHOR(S)' NICKS/LINKS INTACT UNDER THE "Authors" HEADING!** Add your own nick/link to the top of the "Authors" list. + + + +[dwl-patches]: https://codeberg.org/dwl/dwl-patches +[Codeberg]: https://codeberg.org +[dwl]: https://codeberg.org/dwl/dwl +[dwl-patches]: https://codeberg.org/dwl/dwl-patches +[issues]: https://codeberg.org/dwl/dwl-patches/issues +[_STALE_PATCHES]:https://codeberg.org/dwl/dwl-patches/src/branch/main/_STALE_PATCHES diff --git a/patches/alwayscenter/README.md b/patches/alwayscenter/README.md new file mode 100644 index 0000000..f85592c --- /dev/null +++ b/patches/alwayscenter/README.md @@ -0,0 +1,9 @@ +### Description +Automatically center floating windows. + +### Download +- [git branch](https://codeberg.org/guidocella/dwl/src/branch/alwayscenter) +- [2024-02-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/alwayscenter/alwayscenter.patch) + +### Authors +- [Guido Cella](https://codeberg.org/guidocella) diff --git a/alwayscenter/alwayscenter.patch b/patches/alwayscenter/alwayscenter.patch similarity index 100% rename from alwayscenter/alwayscenter.patch rename to patches/alwayscenter/alwayscenter.patch diff --git a/patches/attachtop/README.md b/patches/attachtop/README.md new file mode 100644 index 0000000..3762f1a --- /dev/null +++ b/patches/attachtop/README.md @@ -0,0 +1,13 @@ +### Description +This is a port of attachtop patch for dwm: https://dwm.suckless.org/patches/attachtop + +New client attaches below the last master/on top of the stack. + +Behavior feels very intuitive as it doesn't disrupt existing masters no matter the amount of them, it only pushes the clients in stack down. + +### Download +- [git branch](https://codeberg.org/nikitaivanov/dwl/src/branch/attachtop) +- [2024-04-23](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/attachtop/attachtop.patch) + +### Authors +- [Nikita Ivanov](https://codeberg.org/nikitaivanov) diff --git a/attachtop/attachtop.patch b/patches/attachtop/attachtop.patch similarity index 100% rename from attachtop/attachtop.patch rename to patches/attachtop/attachtop.patch diff --git a/patches/autostart/README.md b/patches/autostart/README.md new file mode 100644 index 0000000..d0fd744 --- /dev/null +++ b/patches/autostart/README.md @@ -0,0 +1,13 @@ +### Description +Allow dwl to execute commands from autostart array in your config.h file. And when you exit dwl all processes from autostart array will be killed. + +Note: Commands from array are executed using execvp(). So if you need to execute shell command you need to prefix it with "sh", "-c" (change sh to any shell you like). + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/autostart) +- [2024-03-31](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/autostart/autostart.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) +- [Rayan Nakib](https://nakibrayan2.pages.dev/) +- [NFVblog](https://github.com/nf02) diff --git a/autostart/autostart.patch b/patches/autostart/autostart.patch similarity index 100% rename from autostart/autostart.patch rename to patches/autostart/autostart.patch diff --git a/patches/bar/README.md b/patches/bar/README.md new file mode 100644 index 0000000..769e75f --- /dev/null +++ b/patches/bar/README.md @@ -0,0 +1,31 @@ +### Description + +Add a bar identical to dwm's bar. + +To use a status-bar, you can pass in status text via stdin: +``` +slstatus -s | dwl +``` + +### Dependencies +* tllist (build dependency, required & pulled automatically by fcft) +* fcft +* pixman + +### Download +- [git branch](https://codeberg.org/sewn/dwl/src/branch/bar) +- [2024-04-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/bar/bar.patch) + +Below is a preview of the barpadding and barborder patches applied. + +![bar, barpadding and border patch preview](bar-with-barpadding-and-border.png) + +For colors, they are in `RRRR, GGGG, BBBB, AAAA` format due to inheriting the `pixman_color_t` type, an example for the color `0x282a36` would be `0x2828, 0x2a2a, 0x3636, 0xffff` + +### Authors +- [sewn](https://codeberg.org/sewn) + +### Credits +- [MadcowOG](https://github.com/MadcowOG) +- [kolumni](https://github.com/kolunmi/dwlb) + diff --git a/patches/bar/bar-with-barpadding-and-border.png b/patches/bar/bar-with-barpadding-and-border.png new file mode 100644 index 0000000000000000000000000000000000000000..d8756db49c7346d6cd311f80b9929e773e95e3e3 GIT binary patch literal 3954 zcmd^CS6EZq*5!yCiWH9sqS94Fx)kX_5kzSUC@nOlh8{u>2}(T_MMP>SB1TH+paB&^ z5fMT)gdQRwHS~H2?Jn>C@IT#$`+V2K{`UUX`qrLv%rVEDGwy-09tYb6HU{1Jafi1E4^pRM!5Kd~; zQ&mD--s*ycqnMKhyV&D62X$J8^0^JLT0t0`S#s_5)0{)C*1M*P0u!2`zP@rIQRo2*`1oh{ zW+||X<RJ^B!%~?f4wp(;) z3diYJ?+SoRjv8x*=LS=j&oUVhmVjEQ~-cVHJ zhlC9~$-{Bn{QTJ&8RDt>+o339V`Cp5S-hHzj11nJ5;}i(=HIKnzTVk&lTKv4pOplm z7Znt=_RJ4gK8_?1v~*3}KV;oLeEITaU7bp%;o$Ia5!ropqQL`)P2v8#EWaBO#*vq1 zQDLX)_$_hrYO#E#)U|8Z#KpgFoT?&YC#9_#8ygoE76b(aso}>c7;K?WNL7RXqjgWN zruvN=fny)NI2oNcXS=DWT>+$;49iMFQ~n?K4>#;g3z9AT|I&8Lvismpwy;NG``t#z z#tI4wRMX>=l6r|mlA9vH&mc`|k|ddYx7K&ErKLq1qRS!z{pi{6rWhR^eRy~nwy2|{ zqo||=?|G=r(kd6UG7h#bJfB?}sVOTf%Qm6I^udAzj_wHS` z3j9fH3rn8}dRHN7^VhD~!R1(H9DTdtJ~!Uuj?ttris(^;feE4BYvFH4vgFx3)gUIYXgP zU0tTRlmJLwyE|0RVzGa!Yl<4ObMx{U9v&X@z4b1{aFmslOxfs* zrBE7Cn8z8jvo2g*T;96ho?lc}Q7IxVbh#j4FxZ0!r{|6sG-Se1C?pcO9je(X7k;oF zOCS&wDyp@fSqhA5w5M;9HUME?2x`*%mYhEP_UqdVfw75+iGhLF$;sE>qDTAt`d(r% z>T+_z4{y!E?N2t6$f!bGzn;v@NF<;GpnNoHX?hxQe1z)3mfI7IS>Oo7sZ*yMg%Hz= zi=W*3Ma#@Do;`c{XD5Sejcc#Bk52^-$Ng?JSCcrNb#Zp$nrd zD=aLmu8yR93NXD!-Q>fXhJdVO<`VQR_XY4?Gkd=@USCsPZCXfzOFog~7?{riMV8Zsadj*gC8{3?|JG;>*5*`1D8uU^H+v+YdG?QPB> zLqpL=d#-aHD^vp2L9UYV-KS6Vu1p1IXXi9L^mE|y>uYBGyyyE*%KN*iYc+z)EXr*% zF__PYxgJ(-vH5K}F;NYJk-vIAvJ((#k6H<;&9o0?P+R5&6IT>IsD7=168-NeKYtZ9&2PY?bCh z1AXkPUN$)qr^P4yVyN z__Wrc%$mx^`uf7+;*<3E<+h)9rV?b&XpfGLie9?pEN|uD@W!rUb$(tB(`{}qlhP5m zG7j5w^zvGM#>mVfLMD^hqTg0kndCpP91M78y71lzqivwho zKH1bYL15dy!;1%NX@PvtztQQT+TWRl!W;_EBY!T^Xgq9fRgUfa=&snrc*`6W_|)hJ zj}O+;d8yEZqoX4r=386--c@SogW%$aSy@^7Bt@iY$lA|a-kKvHJS;psa3h{Fl9CAt z3Df3ZNuH$cL05wXTn!BkK}*ArRg;hBzB^Uheh#!cvV=m3t{CM5OrN4x#~I?rLXLWn zhNfnraZc9j*RL}(M+OI7Xft9d_X_&i!|e)5(w3EPN=v%{Tl~1&$>eQ}Ph&rAoBOJ9 zEfqHj3Z=5>V9d_iy7Tsoq7l^lCT9aTEWjEx6i$3GsHXDq(dLkkRiS{Q=wJi&;T$rj zEdh<{cy;BRjLq7{2C$ouy}TO^fI`irT7cR~R4@ZZ&-LW&w{mHn{!LsJD$c{(+a>5F z(5}G!o#kwW)b}uDWo2j~z6a^XENrxCjpt%xbNBI?+awpjr@xt;ZIkiJ(F%u%h&;O= z&LWb)EBz^KPrldZwrZrN>`@_=Nl?$F#_IB!sw8QyKbe{L_xG_Y1?id^&R)0>x;&}`;Zajp$C?)BMQSX-HgOUk70Zx|tWY5!dfl`z5E${`;DYl~-nRvPeqDYyBC}pJ^Ta;~3fOK>I&I zYNdW38VUjde^RBQsfnUCqHZUgJ$H_9xHASCKA`Jq854EJAv3oq%t zc=!Ij{^eJrqt>4O!ck7n&H+I|HLi>N!sdT4@2pGpj%Q158}!my8{xPB8wLbJl+x!2WkP_QD4XpbyUJk$=z9 O4EJ=6b;`9JBK`$yT#{`7 literal 0 HcmV?d00001 diff --git a/bar/bar.patch b/patches/bar/bar.patch similarity index 100% rename from bar/bar.patch rename to patches/bar/bar.patch diff --git a/patches/barborder/README.md b/patches/barborder/README.md new file mode 100644 index 0000000..3d317fc --- /dev/null +++ b/patches/barborder/README.md @@ -0,0 +1,10 @@ +### Description + +Add a border around the [bar](https://codeberg.org/dwl/dwl-patches/wiki/bar) similar to how a client is given a border. + +### Download +- [2024-04-14](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/barborder/barborder.patch) (bar 2024-04-14) + +### Authors +- [sewn](https://codeberg.org/sewn) + diff --git a/barborder/barborder.patch b/patches/barborder/barborder.patch similarity index 100% rename from barborder/barborder.patch rename to patches/barborder/barborder.patch diff --git a/patches/barheight/README.md b/patches/barheight/README.md new file mode 100644 index 0000000..769b739 --- /dev/null +++ b/patches/barheight/README.md @@ -0,0 +1,10 @@ +### Description + +Adds the ability to change the [bar's](https://codeberg.org/dwl/dwl-patches/wiki/bar) height. + +### Download +- [2024-04-5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/barheight/barheight.patch) +- [git branch](https://codeberg.org/Oak/dwl/src/branch/barheight) + +### Authors +- [Oak](https://codeberg.org/oak) \ No newline at end of file diff --git a/barheight/barheight.patch b/patches/barheight/barheight.patch similarity index 100% rename from barheight/barheight.patch rename to patches/barheight/barheight.patch diff --git a/patches/barpadding/README.md b/patches/barpadding/README.md new file mode 100644 index 0000000..6a498cc --- /dev/null +++ b/patches/barpadding/README.md @@ -0,0 +1,10 @@ +### Description + +Add vertical and horizontal space between the [bar](https://codeberg.org/dwl/dwl-patches/wiki/bar) and the edge of the screen. + +### Download +- [2024-04-14](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/barpadding/barpadding.patch) (bar 2024-04-14) + +### Authors +- [sewn](https://codeberg.org/sewn) + diff --git a/barpadding/barpadding.patch b/patches/barpadding/barpadding.patch similarity index 100% rename from barpadding/barpadding.patch rename to patches/barpadding/barpadding.patch diff --git a/patches/borders/README.md b/patches/borders/README.md new file mode 100644 index 0000000..f6e4088 --- /dev/null +++ b/patches/borders/README.md @@ -0,0 +1,36 @@ +### Description +Adds 2 more borders to each side (top, bottom, left, right) of every window. + + + +
+Preview +
+With the following config:
+
+```c
+static const unsigned int borderpx         = 9;  /* border pixel of windows */
+static const unsigned int borderspx        = 3;  /* width of the border that start from outside the windows */
+static const unsigned int borderepx        = 3;  /* width of the border that start from inside the windows */
+```
+
+and `border_color_type` set to `BrdOriginal`:
+
+
+and `border_color_type` set to `BrdStart`:
+
+
+and `border_color_type` set to `BrdEnd`:
+
+
+and `border_color_type` set to `BrdStartEnd`:
+
+
+
+ +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/borders) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/borders/borders.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/borders/borders.patch b/patches/borders/borders.patch similarity index 100% rename from borders/borders.patch rename to patches/borders/borders.patch diff --git a/patches/bottomstack/README.md b/patches/bottomstack/README.md new file mode 100644 index 0000000..5046689 --- /dev/null +++ b/patches/bottomstack/README.md @@ -0,0 +1,26 @@ +### Description +bstack and bstackhoriz are two stack layouts for dwl. +### Scheme +``` +bstack (TTT) bstackhoriz (===) ++-----------------+ +-----------------+ +| | | | +| | | | +| | | | ++-----+-----+-----+ +-----------------+ +| | | | +-----------------+ +| | | | +-----------------+ ++-----+-----+-----+ +-----------------+ +``` + + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/bottomstack) +- [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) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [DanielMowitz](https://github.com/DanielMowitz) +- [Abanoub8](https://github.com/Abanoub8) + diff --git a/bottomstack/bottomstack.patch b/patches/bottomstack/bottomstack.patch similarity index 100% rename from bottomstack/bottomstack.patch rename to patches/bottomstack/bottomstack.patch diff --git a/patches/buttonbystate/README.md b/patches/buttonbystate/README.md new file mode 100644 index 0000000..cbb0eee --- /dev/null +++ b/patches/buttonbystate/README.md @@ -0,0 +1,10 @@ +### Description +Adds "state" (`enum wlr_button_state`) to configure a button action on either press or release. +This basically enables release to be used for button actions. + +### Download +- [git branch](https://codeberg.org/nullsystem/dwl/src/branch/main_buttonbystate) +- [2024-04-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/buttonbystate/buttonbystate.patch) + +### Authors +- [nullsystem](https://codeberg.org/nullsystem) diff --git a/buttonbystate/buttonbystate.patch b/patches/buttonbystate/buttonbystate.patch similarity index 100% rename from buttonbystate/buttonbystate.patch rename to patches/buttonbystate/buttonbystate.patch diff --git a/patches/center-terminal/README.md b/patches/center-terminal/README.md new file mode 100644 index 0000000..cfd70a2 --- /dev/null +++ b/patches/center-terminal/README.md @@ -0,0 +1,13 @@ +### Description +Add a keybinding that toggles centering the terminally horizontally when +it's the only window, while still tiling multiple windows. + +This limits the width of long text making it easier to read, and avoids +covering the wallpaper more than necessary. + +### Download +- [git branch](https://codeberg.org/guidocella/dwl/src/branch/center-terminal) +- [2024-02-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/center-terminal/center-terminal.patch) + +### Authors +- [Guido Cella](https://codeberg.org/guidocella) diff --git a/center-terminal/center-terminal.patch b/patches/center-terminal/center-terminal.patch similarity index 100% rename from center-terminal/center-terminal.patch rename to patches/center-terminal/center-terminal.patch diff --git a/patches/centeredmaster/README.md b/patches/centeredmaster/README.md new file mode 100644 index 0000000..efe9b36 --- /dev/null +++ b/patches/centeredmaster/README.md @@ -0,0 +1,33 @@ +### Description +This is a port of centeredmaster patch for dwm: + +centeredmaster centers the nmaster area on screen, using mfact * monitor +width & height, with the stacked windows distributed to the left and +right. It can be selected with `Alt+c`. + +With one and two clients in master respectively this results in: + +``` ++------------------------------+ +------------------------------+ +|+--------++--------++--------+| |+--------++--------++--------+| +|| || || || || || || || +|| || || || || || M1 || || +|| || || || || || || || +|| S2 || M || S1 || || |+--------+| || +|| || || || || |+--------+| || +|| || || || || || || || +|| || || || || || M2 || || +|| || || || || || || || +|+--------++--------++--------+| |+--------++--------++--------+| ++------------------------------+ +------------------------------+ +``` + + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/centeredmaster) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/b104a580a80ebaf9f7e8917fe574e3e97ddd019a/centeredmaster/centeredmaster.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/0f4e40fee49d1b8b430778e241b29496ae3b3b70/centeredmaster/centeredmaster.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [Nikita Ivanov](https://github.com/NikitaIvanovV) diff --git a/centeredmaster/centeredmaster.patch b/patches/centeredmaster/centeredmaster.patch similarity index 100% rename from centeredmaster/centeredmaster.patch rename to patches/centeredmaster/centeredmaster.patch diff --git a/patches/cfact/README.md b/patches/cfact/README.md new file mode 100644 index 0000000..7c983ea --- /dev/null +++ b/patches/cfact/README.md @@ -0,0 +1,21 @@ +### Description +A port of the [dwm cfacts patch](https://dwm.suckless.org/patches/cfacts/) (with the limits removed) + +Clients with higher weight are allocated more space! +``` ++---------------------+ +| | 0.5 | +| 1.0 +----------+ ++----------+ | +| | 1.0 | +| +----------+ +| 2.0 | | +| | 1.0 | ++----------+----------+` +``` +### Download +- [git branch](https://codeberg.org/Palanix/dwl/src/branch/cfact) +- [2024-02-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/cfact/cfact.patch) + +### Authors +- [Palanix](https://codeberg.org/Palanix) diff --git a/cfact/cfact.patch b/patches/cfact/cfact.patch similarity index 100% rename from cfact/cfact.patch rename to patches/cfact/cfact.patch diff --git a/patches/chainkeys/README.md b/patches/chainkeys/README.md new file mode 100644 index 0000000..c6505ec --- /dev/null +++ b/patches/chainkeys/README.md @@ -0,0 +1,12 @@ +### Description +Implements chained keybindings (like the dwm [keychain](https://dwm.suckless.org/patches/keychain/) patch). + +Bindings can share a leading chain key. This chain key will be triggered when Mod+chain is pressed. A subsequent keypress will be matched against bindings for that chain key. If it is configured the action will be triggered, otherwise the keypress will be ignored. + + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/chainkeys) +- [2024-01-17](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/chainkeys/chainkeys.patch) + +### Authors +- [Ben Collerson](https://codeberg.org/bencc) \ No newline at end of file diff --git a/chainkeys/chainkeys.patch b/patches/chainkeys/chainkeys.patch similarity index 100% rename from chainkeys/chainkeys.patch rename to patches/chainkeys/chainkeys.patch diff --git a/patches/client-opacity/README.md b/patches/client-opacity/README.md new file mode 100644 index 0000000..1748f2d --- /dev/null +++ b/patches/client-opacity/README.md @@ -0,0 +1,18 @@ +### Description +This patch adds default transparency parameters to config.h which specify the starting transparencies of all windows. + +It also adds opacities to the ruleset, enabling override of the opacities on a per client basis. + +Additionally, it adds some shortcuts: +``` +[MODKEY]+[o] -> increase focus opacity of currently focused window +[MODKEY]+[Shift]+[o] -> decrease focus opacity of currently focused window +``` + + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/client-opacity) +- [2024-03-31](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/client-opacity/client-opacity.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) \ No newline at end of file diff --git a/client-opacity/client-opacity.patch b/patches/client-opacity/client-opacity.patch similarity index 100% rename from client-opacity/client-opacity.patch rename to patches/client-opacity/client-opacity.patch diff --git a/patches/column/README.md b/patches/column/README.md new file mode 100644 index 0000000..9d1b205 --- /dev/null +++ b/patches/column/README.md @@ -0,0 +1,9 @@ +### Description +A column layout patch. This patch just puts the visible clients into equal-width columns on the screen. + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/column) +- [2024-01-02](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/column/column.patch) + +### Authors +- [Ben Collerson](https://codeberg.org/bencc) \ No newline at end of file diff --git a/column/column.patch b/patches/column/column.patch similarity index 100% rename from column/column.patch rename to patches/column/column.patch diff --git a/patches/coredump/README.md b/patches/coredump/README.md new file mode 100644 index 0000000..18b3140 --- /dev/null +++ b/patches/coredump/README.md @@ -0,0 +1,9 @@ +### Description +Generate a coredump if dwl exited abnormally (to be more usefull you need to compile dwl and wlroots with debug symbols) + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/coredump) +- [2023-11-30](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/coredump/coredump.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) diff --git a/coredump/coredump.patch b/patches/coredump/coredump.patch similarity index 100% rename from coredump/coredump.patch rename to patches/coredump/coredump.patch diff --git a/patches/cursortheme/README.md b/patches/cursortheme/README.md new file mode 100644 index 0000000..7f56e30 --- /dev/null +++ b/patches/cursortheme/README.md @@ -0,0 +1,11 @@ +### Description +Adds ability to change cursor's theme and size. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/cursortheme) +- [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) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [egorguslyan](https://github.com/egorguslyan) diff --git a/cursortheme/cursortheme.patch b/patches/cursortheme/cursortheme.patch similarity index 100% rename from cursortheme/cursortheme.patch rename to patches/cursortheme/cursortheme.patch diff --git a/patches/customfloat/README.md b/patches/customfloat/README.md new file mode 100644 index 0000000..916f5af --- /dev/null +++ b/patches/customfloat/README.md @@ -0,0 +1,23 @@ +### Description +Rules for floating windows support default x, y, width, height. Defaults to the center of the screen and the client size. + +If the width or height is less than or equal to 1, then the value will be interpreted as a percentage. For example, 0.5 represents 50%, 0.25 represents 25%, and 1 represents 100%. **NOTE**: Some clients, like Thunar, have minimum width/height + +The variable `center_relative_to_monitor` allows the user to choose whether to center relative to the monitor or relative to the window area. + +
+Explanation of center_relative_to_monitor: +
+The "Monitor area" refers to the space enclosed by the green rectangle, while the "Window area" refers to the space enclosed by the red rectangle.
+
+
+
+ +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/customfloat) +- [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) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [Stivvo](https://github.com/Stivvo) diff --git a/customfloat/customfloat.patch b/patches/customfloat/customfloat.patch similarity index 100% rename from customfloat/customfloat.patch rename to patches/customfloat/customfloat.patch diff --git a/patches/define-modkey-with-make-argument/README.md b/patches/define-modkey-with-make-argument/README.md new file mode 100644 index 0000000..2fac947 --- /dev/null +++ b/patches/define-modkey-with-make-argument/README.md @@ -0,0 +1,18 @@ +### Description +This patch adds the ability to define the modkey with a make argument like so: + +``` +make MODKEY=WLR_MODIFIER_ALT +make MODKEY=WLR_MODIFIER_LOGO +make MODKEY=WLR_MODIFIER_CTRL +make MODKEY=WLR_MODIFIER_SHIFT +``` + +It can be used to compile multiple times quickly, you can also have a main session and sub session with different modkeys. + +### Download +- [git branch](https://codeberg.org/Abanoub/dwl/src/branch/define-modkey-patch) +- [2024-02-14](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/define-modkey-with-make-argument/define-modkey-with-make-argument.patch) + +### Authors +- [Abanoub](https://codeberg.org/Abanoub) diff --git a/define-modkey-with-make-argument/define-modkey-with-make-argument.patch b/patches/define-modkey-with-make-argument/define-modkey-with-make-argument.patch similarity index 100% rename from define-modkey-with-make-argument/define-modkey-with-make-argument.patch rename to patches/define-modkey-with-make-argument/define-modkey-with-make-argument.patch diff --git a/patches/dim-unfocused/README.md b/patches/dim-unfocused/README.md new file mode 100644 index 0000000..5192aa2 --- /dev/null +++ b/patches/dim-unfocused/README.md @@ -0,0 +1,11 @@ +### Description +Implements dimming of clients which are unfocused. + +The code also allows you to "dim" focused windows if you wish to, and as such allows any color dimming. There is also an additional option in Rule, which allows you to keep the client `alwaysbright`, that is, as if it is focused. + +### Download +- [2024-04-16](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/dim-unfocused/dim-unfocused.patch) +- [git branch](https://codeberg.org/dhruva_sambrani/dwl/src/branch/dim-unfocused) + +### Authors +- [Dhruva Sambrani](https://codeberg.org/dhruva_sambrani) diff --git a/dim-unfocused/dim-unfocused.patch b/patches/dim-unfocused/dim-unfocused.patch similarity index 100% rename from dim-unfocused/dim-unfocused.patch rename to patches/dim-unfocused/dim-unfocused.patch diff --git a/patches/dragmfact/README.md b/patches/dragmfact/README.md new file mode 100644 index 0000000..6d85a18 --- /dev/null +++ b/patches/dragmfact/README.md @@ -0,0 +1,9 @@ +### Description +Change mfact by dragging the mouse. + +### Download +- [git branch](https://codeberg.org/Palanix/dwl/src/branch/dragmfact) +- [2024-02-16](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/dragmfact/dragmfact.patch) + +### Authors +- [Palanix](https://codeberg.org/Palanix) diff --git a/dragmfact/dragmfact.patch b/patches/dragmfact/dragmfact.patch similarity index 100% rename from dragmfact/dragmfact.patch rename to patches/dragmfact/dragmfact.patch diff --git a/patches/en-keycodes/README.md b/patches/en-keycodes/README.md new file mode 100644 index 0000000..896ce5d --- /dev/null +++ b/patches/en-keycodes/README.md @@ -0,0 +1,11 @@ +### Description +Always use the English keymap to get keycodes, so key bindings work even when using a non-English keyboard layout. + +### Download +- [git branch](https://codeberg.org/ForzCross/dwl/src/branch/en-keycodes.patch) +- [2024-01-11](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/en-keycodes/en-keycodes.patch) + +### Authors +- [ForzCross](https://codeberg.org/ForzCross) +- [Nikita Ivanov](https://github.com/NikitaIvanovV) +- [dimkr](https://codeberg.org/dimkr) () diff --git a/en-keycodes/en-keycodes.patch b/patches/en-keycodes/en-keycodes.patch similarity index 100% rename from en-keycodes/en-keycodes.patch rename to patches/en-keycodes/en-keycodes.patch diff --git a/patches/env/README.md b/patches/env/README.md new file mode 100644 index 0000000..30272fa --- /dev/null +++ b/patches/env/README.md @@ -0,0 +1,8 @@ +### Description +Input device configuration (click method, tap-and-drag, acceleration, etc), border size and colors via environment variables. + +### Download +- [2024-02-11](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/env/env.patch) + +### Authors +- [Dima Krasner](https://codeberg.org/dimkr) () diff --git a/env/env.patch b/patches/env/env.patch similarity index 100% rename from env/env.patch rename to patches/env/env.patch diff --git a/patches/fakefullscreenclient/README.md b/patches/fakefullscreenclient/README.md new file mode 100644 index 0000000..a0a2e52 --- /dev/null +++ b/patches/fakefullscreenclient/README.md @@ -0,0 +1,8 @@ +### Description +Allow setting fake fullscreen per client + +### Download + - [git branch](https://codeberg.org/notchoc/dwl/src/branch/fakefullscreenclient) + - [2024-03-29](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/fakefullscreenclient/fakefullscreenclient.patch) +### Authors + - [notchoc](https://codeberg.org/notchoc) diff --git a/fakefullscreenclient/fakefullscreenclient.patch b/patches/fakefullscreenclient/fakefullscreenclient.patch similarity index 100% rename from fakefullscreenclient/fakefullscreenclient.patch rename to patches/fakefullscreenclient/fakefullscreenclient.patch diff --git a/patches/fallback/README.md b/patches/fallback/README.md new file mode 100644 index 0000000..e9de8f4 --- /dev/null +++ b/patches/fallback/README.md @@ -0,0 +1,8 @@ +### Description +Tries a different display mode if the preferred mode doesn't work. + +### Download +- [2024-02-11](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/fallback/fallback.patch) + +### Authors +- [Dima Krasner](https://codeberg.org/dimkr) () diff --git a/fallback/fallback.patch b/patches/fallback/fallback.patch similarity index 100% rename from fallback/fallback.patch rename to patches/fallback/fallback.patch diff --git a/patches/focusdir/README.md b/patches/focusdir/README.md new file mode 100644 index 0000000..a2ed478 --- /dev/null +++ b/patches/focusdir/README.md @@ -0,0 +1,9 @@ +### Description +Focus the window to the left, right, above or below the current focused window + +### Download +- [git branch](https://codeberg.org/ldev105/dwl/src/branch/focusdir) +- [2023-01-22](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/focusdir/focusdir.patch) + +### Authors +- [ldev105](https://codeberg.org/ldev105) diff --git a/focusdir/focusdir.patch b/patches/focusdir/focusdir.patch similarity index 100% rename from focusdir/focusdir.patch rename to patches/focusdir/focusdir.patch diff --git a/patches/foreign-toplevel-management/README.md b/patches/foreign-toplevel-management/README.md new file mode 100644 index 0000000..6e30328 --- /dev/null +++ b/patches/foreign-toplevel-management/README.md @@ -0,0 +1,9 @@ +### Description +Implement `foreign-toplevel-management`, it add handlers for activate, close, fullscreen and destroy request events, it's missing minimize and maximize request handlers. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.6-a/foreign-toplevel-management) +- [2024-05-02](https://codeberg.org/dwl/dwl-patches/raw/commit/e58c3ec41a39df934d2998161d7187ac965ea77a/foreign-toplevel-management/foreign-toplevel-management.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) \ No newline at end of file diff --git a/foreign-toplevel-management/foreign-toplevel-management.patch b/patches/foreign-toplevel-management/foreign-toplevel-management.patch similarity index 100% rename from foreign-toplevel-management/foreign-toplevel-management.patch rename to patches/foreign-toplevel-management/foreign-toplevel-management.patch diff --git a/patches/gaplessgrid/README.md b/patches/gaplessgrid/README.md new file mode 100644 index 0000000..4c13b4c --- /dev/null +++ b/patches/gaplessgrid/README.md @@ -0,0 +1,15 @@ +### Description +Arranges windows in a grid. Except it adjusts the number of windows in the first few columns to avoid empty cells. + +### Download +- [2024-08-01](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/gaplessgrid/gaplessgrid.patch) +- [git branch](https://codeberg.org/dhruva_sambrani/dwl/src/branch/gaplessgrid) + +## Pre-codeberg +- [2023-11-14](https://github.com/djpohly/dwl/compare/main...Sneethe:gaplessgrid.patch) +- [2021-07-27](https://github.com/djpohly/dwl/compare/main...vnepogodin:gaplessgrid.patch) + +### Authors +- [Sneethe](https://github.com/Sneethe/) +- [Vladislav Nepogodin](https://github.com/vnepogodin) +- [Dhruva Sambrani](https://codeberg.org/dhruva_sambrani/) (Revived to codeberg) diff --git a/gaplessgrid/gaplessgrid.patch b/patches/gaplessgrid/gaplessgrid.patch similarity index 100% rename from gaplessgrid/gaplessgrid.patch rename to patches/gaplessgrid/gaplessgrid.patch diff --git a/patches/gaps/README.md b/patches/gaps/README.md new file mode 100644 index 0000000..eb70e15 --- /dev/null +++ b/patches/gaps/README.md @@ -0,0 +1,13 @@ +### Description +Adds gaps between clients, providing the ability to disable them at run-time. + +`smartgaps` can also be changed to remove gaps when there is only one client present. + +### Download +- [git branch](https://codeberg.org/sewn/dwl/src/branch/gaps) +- [2024-04-01](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/gaps/gaps.patch) + +### Authors +- [sewn](https://codeberg.org/sewn) +- [Serene Void](https://github.com/serenevoid) +- [Rayan Nakib](https://nakibrayan2.pages.dev) diff --git a/gaps/gaps.patch b/patches/gaps/gaps.patch similarity index 100% rename from gaps/gaps.patch rename to patches/gaps/gaps.patch diff --git a/patches/gestures/README.md b/patches/gestures/README.md new file mode 100644 index 0000000..5f1957b --- /dev/null +++ b/patches/gestures/README.md @@ -0,0 +1,20 @@ +### Description +Add swipe gestures to trigger functions, similar to [libinput-gestures](https://github.com/bulletmark/libinput-gestures/tree/master). It supports the following gestures: `SWIPE_UP`, `SWIPE_DOWN`, `SWIPE_LEFT` and `SWIPE_RIGHT` + +```c +static const Gesture gestures[] = { + /* modifier gesture fingers_count function argument */ + { MODKEY, SWIPE_LEFT, 4, shiftview, { .i = 1 } }, + { 0, SWIPE_RIGHT, 4, shiftview, { .i = -1 } }, +}; +``` + +**NOTE:** the example above requires the following patch [shiftview](https://codeberg.org/dwl/dwl-patches/wiki/shiftview) + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/gestures) +- [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) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/gestures/gestures.patch b/patches/gestures/gestures.patch similarity index 100% rename from gestures/gestures.patch rename to patches/gestures/gestures.patch diff --git a/patches/headless/README.md b/patches/headless/README.md new file mode 100644 index 0000000..990a5d9 --- /dev/null +++ b/patches/headless/README.md @@ -0,0 +1,11 @@ +### Description +Implements `swaymsg create_output` command, it allows you to create virtual/headless outputs. But in combination with a VNC server (for example wayvnc), this allows you to essentially have additional monitors, by connecting to the VNC server with an appropiate client (for example on an tablet or laptop). + +If you plan to use wayvnc, you'll need [virtual-pointer](https://codeberg.org/dwl/dwl-patches/wiki/virtual-pointer.-) patch as well + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/v0.5/headless) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/0096e49402bc59b4050e12cdb9befb79d0011006/headless/headless.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) \ No newline at end of file diff --git a/headless/headless.patch b/patches/headless/headless.patch similarity index 100% rename from headless/headless.patch rename to patches/headless/headless.patch diff --git a/patches/hide-behind-fullscreen/README.md b/patches/hide-behind-fullscreen/README.md new file mode 100644 index 0000000..7b505b4 --- /dev/null +++ b/patches/hide-behind-fullscreen/README.md @@ -0,0 +1,9 @@ +### Description +Hide all clients (and layer surfaces) behind the current client if it is fullscreen, only the background (layer surfaces at the background layer) will be shown + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/hide-behind-fullscreen) +- [2023-11-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/hide-behind-fullscreen/hide-behind-fullscreen.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) diff --git a/hide-behind-fullscreen/hide-behind-fullscreen.patch b/patches/hide-behind-fullscreen/hide-behind-fullscreen.patch similarity index 100% rename from hide-behind-fullscreen/hide-behind-fullscreen.patch rename to patches/hide-behind-fullscreen/hide-behind-fullscreen.patch diff --git a/patches/hide-behind-monocle/README.md b/patches/hide-behind-monocle/README.md new file mode 100644 index 0000000..70c3c3e --- /dev/null +++ b/patches/hide-behind-monocle/README.md @@ -0,0 +1,9 @@ +### Description +Hide all clients behind the focused one in the monocle layout + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/hide-behind-monocle) +- [2023-11-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/hide-behind-monocle/hide-behind-monocle.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) diff --git a/hide-behind-monocle/hide-behind-monocle.patch b/patches/hide-behind-monocle/hide-behind-monocle.patch similarity index 100% rename from hide-behind-monocle/hide-behind-monocle.patch rename to patches/hide-behind-monocle/hide-behind-monocle.patch diff --git a/patches/hide_vacant_tags/README.md b/patches/hide_vacant_tags/README.md new file mode 100644 index 0000000..139401a --- /dev/null +++ b/patches/hide_vacant_tags/README.md @@ -0,0 +1,11 @@ +### Description + +Prevent [bar](https://codeberg.org/dwl/dwl-patches/wiki/bar) from drawing tags with no clients (i.e. vacant). +It also stops drawing empty rectangles on the bar for non-vacant tags as there is no need anymore to distinguish vacant tags and it offers a more visible contrast than if there were filled/empty rectangles. + +### Download +- [2024-04-14](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/hide_vacant_tags/hide_vacant_tags.patch) (bar 2024-04-14) + +### Authors +- [sewn](https://codeberg.org/sewn) + diff --git a/hide_vacant_tags/hide_vacant_tags.patch b/patches/hide_vacant_tags/hide_vacant_tags.patch similarity index 100% rename from hide_vacant_tags/hide_vacant_tags.patch rename to patches/hide_vacant_tags/hide_vacant_tags.patch diff --git a/patches/hiderule/README.md b/patches/hiderule/README.md new file mode 100644 index 0000000..bed2475 --- /dev/null +++ b/patches/hiderule/README.md @@ -0,0 +1,9 @@ +### Description +Adds a `ishidden` option to client rules, that allows hiding any matching clients entirely. + +### Download +- [git branch](https://codeberg.org/minego/dwl/src/branch/hiderule) +- [yyyy-mm-dd](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/hiderule/hiderule.patch) + +### Authors +- [minego](https://codeberg.org/minego) \ No newline at end of file diff --git a/hiderule/hiderule.patch b/patches/hiderule/hiderule.patch similarity index 100% rename from hiderule/hiderule.patch rename to patches/hiderule/hiderule.patch diff --git a/patches/ipc/README.md b/patches/ipc/README.md new file mode 100644 index 0000000..ea51454 --- /dev/null +++ b/patches/ipc/README.md @@ -0,0 +1,19 @@ +### Description +Largely based on [raphi](https://sr.ht/~raphi/)'s [somebar](https://sr.ht/~raphi/somebar/), this patch provides an ipc for wayland clients to get and set dwl state. The ipc is intended for status bars, but can also be scripted with tools like [dwlmsg](https://codeberg.org/notchoc/dwlmsg). + +Status information to stdout is currently disabled as dwl tends to freeze. For now, `dwlmsg -w` should act as a drop-in replacement. + +### Download + - [git branch](https://codeberg.org/notchoc/dwl/src/branch/ipc) + - [2024-03-13](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/ipc/ipc.patch) + - [2024-02-20](https://codeberg.org/dwl/dwl-patches/raw/commit/0c5ae06e4bc1d7f641376e8fcb86b43bd48ce2ee/ipc/ipc.patch) + - [2023-10-28](https://gist.githubusercontent.com/fbushstone/b116c44340eb7a7878de1119dd931ca5/raw/ee66ac9e2a5dddd9b528df553e21080c2811e974/ipc-v2-fixed.patch) Updated version of 2023-04-29, prevents ipc from freezing the compositor in printstatus. + - [2023-04-29](https://github.com/djpohly/dwl/compare/main...madcowog:ipc-v2.patch) Use this for dwl-ipc-unstable-v2. If you are using commit [9d68554](https://github.com/djpohly/dwl/commit/9d68554c59a886b641d27a364884fb461af2d4f1) or later, use this. For status bars this protocol is supported by dwlb, Waybar and dwl-bar. + - [2023-04-29](https://github.com/djpohly/dwl/compare/main...madcowog:ipc-bbdf2.patch) Use this for dwl-ipc-unstable-v1. If you are using commit [bbdaf2a9](https://github.com/djpohly/dwl/commit/bbdf2a913b72e7a308ee0dfde6518a4285d4a775), [release 0.4](https://github.com/djpohly/dwl/releases/tag/v0.4) or earlier, use this. For status bars, this protocol is supported by dwl-bar. + - [2023-02-20](https://lists.sr.ht/~raphi/public-inbox/patches/39166) Use this for net-tapesoftware-dwl-wm-unstable-v1. If you are using commit [c69a2bec](https://github.com/djpohly/dwl/commit/c69a2bec3ff417fbc4ea8fec0a49096773e01e7d) or later, use this. For status bars this protocol is supported by somebar. + +### Authors + - [MadcowOG](https://github.com/MadcowOG) + - [fbushstone](https://github.com/fbushstone) + - [notchoc](https://codeberg.org/notchoc) + - [snuk](https://codeberg.org/snuk) diff --git a/ipc/ipc.patch b/patches/ipc/ipc.patch similarity index 100% rename from ipc/ipc.patch rename to patches/ipc/ipc.patch diff --git a/patches/kblayout/README.md b/patches/kblayout/README.md new file mode 100644 index 0000000..138b036 --- /dev/null +++ b/patches/kblayout/README.md @@ -0,0 +1,29 @@ +### Description +This patch adds per-client keyboard layout and ability to send current +keyboard layout information to a status bar. + +Only per-client feature is enabled by default. You can edit +`kblayout_file` and `kblayout_cmd` variables to notify a status bar +about keyboard layout. + +[Someblocks](https://sr.ht/~raphi/someblocks) config that works +with the example settings in `config.h`: + +```c +static const Block blocks[] = { + /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ + {"", "cat /tmp/dwl-keymap", 0, 1}, +}; +``` + +Both of these features are included in one patch because their +implementation happens to share some code. If you don't need +any of these features, just disable it in `config.h`. + +### Download +- [git branch](https://codeberg.org/ForzCross/dwl/src/branch/kblayout.patch) +- [2024-01-21](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/kblayout/kblayout.patch) + +### Authors +- [ForzCross](https://codeberg.org/ForzCross) +- [Nikita Ivanov](https://github.com/NikitaIvanovV) diff --git a/kblayout/kblayout.patch b/patches/kblayout/kblayout.patch similarity index 100% rename from kblayout/kblayout.patch rename to patches/kblayout/kblayout.patch diff --git a/patches/keycodes/README.md b/patches/keycodes/README.md new file mode 100644 index 0000000..77e4061 --- /dev/null +++ b/patches/keycodes/README.md @@ -0,0 +1,18 @@ +### Description +Use keycodes instead of keysyms. This way, input is independent from keyboard layout (you can use the keys.h file to customize, or get the keycodes with `wev` or `xkbcli interactive-wayland` (x11-libs/libxkbcommon[tools] in gentoo)). + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/keycodes) +- [2023-11-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/keycodes/keycodes.patch) + +### Config after patching +(run in DWL source directory) +``` +export XKB_DEFAULT_VARIANT=yourbestkeyboardlayout +cc -lxkbcommon -o generate-keys generate-keys.c +./generate-keys +sudo make install +``` + +### Authors +- [sevz](https://codeberg.org/sevz) diff --git a/keycodes/keycodes.patch b/patches/keycodes/keycodes.patch similarity index 100% rename from keycodes/keycodes.patch rename to patches/keycodes/keycodes.patch diff --git a/patches/less-simple-touch-input/README.md b/patches/less-simple-touch-input/README.md new file mode 100644 index 0000000..e56f0f3 --- /dev/null +++ b/patches/less-simple-touch-input/README.md @@ -0,0 +1,21 @@ +### Description +Adds touchscreen functionality. + +This patch was based on the [simple-touch-input](https://codeberg.org/dwl/dwl-patches/wiki/simple-touch-input) but instead of emulating mouse movement, this now forwards the appropriate event notifications to clients. + +KNOWN BUGS: +- Sometimes, the pointer moves to where the screen is pressed, but the button press doesn't occur until the screen is touched AGAIN. This means that if you touch to click button 'Q' on the screen (for instance), nothing happens; then you touch elsewhere on the screen and THEN button 'Q' registers a click. This is annoying, doesn't always happen, and I don't yet know how to fix it. + +### Download +- [git branch](https://codeberg.org/minego/dwl/src/branch/touch) +- [2024-03-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/less-simple-touch-input/less-simple-touch-input.patch) + +### Authors +- [minego](https://codeberg.org/minego) +- [fauxmight](https://codeberg.org/fauxmight) +- [Unprex](https://github.com/Unprex) + +### Changelog +- 2024-02-11 Corrected issue where motion events where not sending notifications for unfocused clients such as an on screen keyboard +- 2024-03-26 Rebased, and removed #ifdef's for the pointer constraints patch which has been merged into upstream +- 2024-03-28 Removed debug \ No newline at end of file diff --git a/less-simple-touch-input/less-simple-touch-input.patch b/patches/less-simple-touch-input/less-simple-touch-input.patch similarity index 100% rename from less-simple-touch-input/less-simple-touch-input.patch rename to patches/less-simple-touch-input/less-simple-touch-input.patch diff --git a/patches/limitnmaster/README.md b/patches/limitnmaster/README.md new file mode 100644 index 0000000..3c4436c --- /dev/null +++ b/patches/limitnmaster/README.md @@ -0,0 +1,9 @@ +### Description +Limits nmaster to within the range of currently-opened windows (nmaster will not change past the full horizontal split layout) + +### Download +- [git branch](https://codeberg.org/dev-gm/dwl/src/branch/limitnmaster) +- [2024-03-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/limitnmaster/limitnmaster.patch) + +### Authors +- [dev-gm](https://codeberg.org/dev-gm) \ No newline at end of file diff --git a/limitnmaster/limitnmaster.patch b/patches/limitnmaster/limitnmaster.patch similarity index 100% rename from limitnmaster/limitnmaster.patch rename to patches/limitnmaster/limitnmaster.patch diff --git a/patches/lockedkeys/README.md b/patches/lockedkeys/README.md new file mode 100644 index 0000000..50f0fd2 --- /dev/null +++ b/patches/lockedkeys/README.md @@ -0,0 +1,23 @@ +### Description +This patch allows you to add keybindings to the lockscreen. + +```c +static const Key lockedkeys[] = { + /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ + /* modifier key function argument */ + + /* Ctrl-Alt-Backspace and Ctrl-Alt-Fx used to be handled by X server */ + { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_Terminate_Server, quit, {0} }, +#define CHVT(n) { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_XF86Switch_VT_##n, chvt, {.ui = (n)} } + CHVT(1), CHVT(2), CHVT(3), CHVT(4), CHVT(5), CHVT(6), + CHVT(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12), +}; +``` + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/lockedkeys) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/fc4146f3068dcd46035a2a11fe9d6109a97ae6d6/lockedkeys/lockedkeys.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/2a6560c167e5c9afc5598ac5431d23d90de8846c/lockedkeys/lockedkeys.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/lockedkeys/lockedkeys.patch b/patches/lockedkeys/lockedkeys.patch similarity index 100% rename from lockedkeys/lockedkeys.patch rename to patches/lockedkeys/lockedkeys.patch diff --git a/patches/master-right/README.md b/patches/master-right/README.md new file mode 100644 index 0000000..23afddd --- /dev/null +++ b/patches/master-right/README.md @@ -0,0 +1,9 @@ +### Description +Show the master area to the right. + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/master-right) +- [2023-11-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/master-right/master-right.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) diff --git a/master-right/master-right.patch b/patches/master-right/master-right.patch similarity index 100% rename from master-right/master-right.patch rename to patches/master-right/master-right.patch diff --git a/patches/minimalborders/README.md b/patches/minimalborders/README.md new file mode 100644 index 0000000..f18f9a1 --- /dev/null +++ b/patches/minimalborders/README.md @@ -0,0 +1,33 @@ +### Description +Dynamically adjusts the borders between adjacent windows to make them visually merge + +**NOTE:** to disable minimalborders after applying this patch, set `draw_minimal_borders` to `0` + +```c +static const int draw_minimal_borders = 0; /* disable minimalborders */ +``` + +
+Preview: +
+with:
+
+```c
+static const unsigned int borderpx         = 10;  /* border pixel of windows */
+```
+
+Before applying the patch
+
+
+After applying the patch
+
+
+
+ +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/minimalborders) +- [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) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/minimalborders/minimalborders.patch b/patches/minimalborders/minimalborders.patch similarity index 100% rename from minimalborders/minimalborders.patch rename to patches/minimalborders/minimalborders.patch diff --git a/patches/modes/README.md b/patches/modes/README.md new file mode 100644 index 0000000..c855af9 --- /dev/null +++ b/patches/modes/README.md @@ -0,0 +1,35 @@ +### Description +Implement modes, that way each mapping is associated with a mode and is only active while in that mode, default mode is `NORMAL` + +### Example + +In the example below, you declare a mode: `BROWSER`, which is activated when you press modkey + b. Then, you can press f to launch `Firefox` and return to the default `NORMAL` mode. + +```c +enum { + BROWSER, +}; +const char *modes_labels[] = { + "browser", +}; + +static const Key keys[] = { + // ... + { MODKEY, XKB_KEY_b, entermode, {.i = BROWSER} }, + // ... +}; + +static const Modekey modekeys[] = { + /* mode modifier key function argument */ + { BROWSER, { 0, XKB_KEY_f, spawn, SHCMD("firefox") } }, + { BROWSER, { 0, XKB_KEY_f, entermode, {.i = NORMAL} } }, + { BROWSER, { 0, XKB_KEY_Escape, entermode, {.i = NORMAL} } }, +}; +``` + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/modes) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/modes/modes.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/modes/modes.patch b/patches/modes/modes.patch similarity index 100% rename from modes/modes.patch rename to patches/modes/modes.patch diff --git a/patches/monfig/README.md b/patches/monfig/README.md new file mode 100644 index 0000000..78c8039 --- /dev/null +++ b/patches/monfig/README.md @@ -0,0 +1,9 @@ +### Description +Allows more monitor configuration in config.h + +### Download +- [git branch](https://codeberg.org/Palanix/dwl/src/branch/monfig) +- [2024-02-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/monfig/monfig.patch) + +### Authors +- [Palanix](https://codeberg.org/Palanix) diff --git a/monfig/monfig.patch b/patches/monfig/monfig.patch similarity index 100% rename from monfig/monfig.patch rename to patches/monfig/monfig.patch diff --git a/patches/movecenter/README.md b/patches/movecenter/README.md new file mode 100644 index 0000000..be29c5a --- /dev/null +++ b/patches/movecenter/README.md @@ -0,0 +1,24 @@ +### Description +This patch provides a keybinding to center the focused floating window. + +Press MODKEY + x to center the focused floating window. + +It does NOT center windows that are not floating. + +The variable `center_relative_to_monitor` allows the user to choose whether to center relative to the monitor or relative to the window area. + +
+Explanation of center_relative_to_monitor: +
+The "Monitor area" refers to the space enclosed by the green rectangle, while the "Window area" refers to the space enclosed by the red rectangle.
+
+
+
+ + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/movecenter) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/movecenter/movecenter.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/movecenter/movecenter.patch b/patches/movecenter/movecenter.patch similarity index 100% rename from movecenter/movecenter.patch rename to patches/movecenter/movecenter.patch diff --git a/patches/moveresizekb/README.md b/patches/moveresizekb/README.md new file mode 100644 index 0000000..0c53caf --- /dev/null +++ b/patches/moveresizekb/README.md @@ -0,0 +1,20 @@ +### Description +This allows the user to change size and placement of floating windows using only the keyboard, default keybindings: + +| Keybinding | Action | +| :--- | :--- | +| MODKEY + Up | move 40px up | +| MODKEY + Down | move 40px down | +| MODKEY + Left | move 40px left | +| MODKEY + Right | move 40px right | +| MODKEY + Shift + Up | shrink height 40px | +| MODKEY + Shift + Down | grow height 40px | +| MODKEY + Shift + Left | shrink width 40px | +| MODKEY + Shift + Right | grow width 40px | + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/moveresizekb) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/moveresizekb/moveresizekb.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/moveresizekb/moveresizekb.patch b/patches/moveresizekb/moveresizekb.patch similarity index 100% rename from moveresizekb/moveresizekb.patch rename to patches/moveresizekb/moveresizekb.patch diff --git a/patches/movestack/README.md b/patches/movestack/README.md new file mode 100644 index 0000000..2d83250 --- /dev/null +++ b/patches/movestack/README.md @@ -0,0 +1,13 @@ +### Description +Allows you to move a window up and down the stack. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/movestack) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/movestack/movestack.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [sam-barr](https://github.com/ss7m) +- [Dmitry Zakharchenko](https://github.com/dm1tz) +- [Abanoub8](https://github.com/Abanoub8) +- [Nikita Ivanov](https://github.com/NikitaIvanovV) diff --git a/movestack/movestack.patch b/patches/movestack/movestack.patch similarity index 100% rename from movestack/movestack.patch rename to patches/movestack/movestack.patch diff --git a/patches/namedscratchpads/README.md b/patches/namedscratchpads/README.md new file mode 100644 index 0000000..3e39b04 --- /dev/null +++ b/patches/namedscratchpads/README.md @@ -0,0 +1,15 @@ +### Description +Allows for the creation of multiple scratchpad windows, each assigned to a different keybinding. In simple terms, it enables 'run or raise' functionality + +This patch adds the following functions: +* `togglescratch`: simply toggles the scratchpad window +* `focusortogglescratch`: change the focus to the scratchpad window if it is visible and toggles it if it is already in focus +* `focusortogglematchingscratch`: similar to `focusortogglescratch` but also closes all other scratchpad windows + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/namedscratchpads) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/namedscratchpads/namedscratchpads.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [Louis-Michel Raynauld](https://github.com/loumray) diff --git a/namedscratchpads/namedscratchpads.patch b/patches/namedscratchpads/namedscratchpads.patch similarity index 100% rename from namedscratchpads/namedscratchpads.patch rename to patches/namedscratchpads/namedscratchpads.patch diff --git a/patches/naturalscrolltrackpad/README.md b/patches/naturalscrolltrackpad/README.md new file mode 100644 index 0000000..64109ba --- /dev/null +++ b/patches/naturalscrolltrackpad/README.md @@ -0,0 +1,10 @@ +### Description +Set natural scrolling only for trackpads. + +### Download +- [git branch](https://codeberg.org/neuromagus/dwl/src/branch/naturalscrolltrackpad) +- [2024-01-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/naturalscrolltrackpad/naturalscrolltrackpad.patch) + +### Authors +- [Neuromagus](https://codeberg.org/neuromagus) +- [Nikita Ivanov](https://github.com/NikitaIvanovV) diff --git a/naturalscrolltrackpad/naturalscrolltrackpad.patch b/patches/naturalscrolltrackpad/naturalscrolltrackpad.patch similarity index 100% rename from naturalscrolltrackpad/naturalscrolltrackpad.patch rename to patches/naturalscrolltrackpad/naturalscrolltrackpad.patch diff --git a/patches/numlock-capslock/README.md b/patches/numlock-capslock/README.md new file mode 100644 index 0000000..4023edb --- /dev/null +++ b/patches/numlock-capslock/README.md @@ -0,0 +1,9 @@ +### Description +Allows activating numlock or capslock at startup + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/numlock-capslock) +- [2023-11-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/numlock-capslock/numlock-capslock.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) diff --git a/numlock-capslock/numlock-capslock.patch b/patches/numlock-capslock/numlock-capslock.patch similarity index 100% rename from numlock-capslock/numlock-capslock.patch rename to patches/numlock-capslock/numlock-capslock.patch diff --git a/patches/perinputconfig/README.md b/patches/perinputconfig/README.md new file mode 100644 index 0000000..fe8a252 --- /dev/null +++ b/patches/perinputconfig/README.md @@ -0,0 +1,12 @@ +### Description +Replace the singular keyboard and pointer input configuration with an array allowing to set different variables matching by name. + +Tip to find the names: Grep for `device_name` and add a line after it to print to stdout. Then run EX: `dwl > /tmp/print_device_names.log`, exit dwl, and should see the names. + +### Download +- [git branch](https://codeberg.org/nullsystem/dwl/src/branch/main_perinputconfig) +- [2024-03-31](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/perinputconfig/perinputconfig.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/perinputconfig/perinputconfig-v0.5.patch) + +### Authors +- [nullsystem](https://codeberg.org/nullsystem) \ No newline at end of file diff --git a/perinputconfig/perinputconfig-v0.5.patch b/patches/perinputconfig/perinputconfig-v0.5.patch similarity index 100% rename from perinputconfig/perinputconfig-v0.5.patch rename to patches/perinputconfig/perinputconfig-v0.5.patch diff --git a/perinputconfig/perinputconfig.patch b/patches/perinputconfig/perinputconfig.patch similarity index 100% rename from perinputconfig/perinputconfig.patch rename to patches/perinputconfig/perinputconfig.patch diff --git a/patches/pertag/README.md b/patches/pertag/README.md new file mode 100644 index 0000000..012c9fe --- /dev/null +++ b/patches/pertag/README.md @@ -0,0 +1,11 @@ +### Description +Makes layout, mwfact and nmaster individual for every tag. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/pertag) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/bf098459219e7a473d8edb4c0435aeb6a4b82e38/pertag/pertag.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/3f9a58cde9e3aa02991b3e5a22d371b153cb1459/pertag/pertag.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [Guido Cella](https://github.com/guidocella) diff --git a/pertag/pertag.patch b/patches/pertag/pertag.patch similarity index 100% rename from pertag/pertag.patch rename to patches/pertag/pertag.patch diff --git a/patches/pointer-gestures-unstable-v1/README.md b/patches/pointer-gestures-unstable-v1/README.md new file mode 100644 index 0000000..1d7fe0d --- /dev/null +++ b/patches/pointer-gestures-unstable-v1/README.md @@ -0,0 +1,14 @@ +### Description +Forward the following events to client: +swipe_begin, swipe_update, swipe_end, pinch_begin, pinch_update and pinch_end + +This patch allows you to pinch zoom in Chrome, for example. In combination with the following patches [gestures](https://codeberg.org/dwl/dwl-patches/wiki/gestures) and [shiftview](https://codeberg.org/dwl/dwl-patches/wiki/shiftview), it would allow you to switch workspaces by performing a 3-finger swipe on your touchpad. + + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/pointer-gestures-unstable-v1) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/c676de59d51e613bd52ac46c77a24b1cac9a61a1/pointer-gestures-unstable-v1/pointer-gestures-unstable-v1.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/fc4146f3068dcd46035a2a11fe9d6109a97ae6d6/pointer-gestures-unstable-v1/pointer-gestures-unstable-v1.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/pointer-gestures-unstable-v1/pointer-gestures-unstable-v1.patch b/patches/pointer-gestures-unstable-v1/pointer-gestures-unstable-v1.patch similarity index 100% rename from pointer-gestures-unstable-v1/pointer-gestures-unstable-v1.patch rename to patches/pointer-gestures-unstable-v1/pointer-gestures-unstable-v1.patch diff --git a/patches/press_repeat_release/README.md b/patches/press_repeat_release/README.md new file mode 100644 index 0000000..3c31142 --- /dev/null +++ b/patches/press_repeat_release/README.md @@ -0,0 +1,11 @@ +### Description +This patch adds 3 additional options to the `Key` struct, `on_press`, `on_repeat` and `on_release` which can be used to control which events a key binding should be triggered on. + +NOTE: Due to concerns about patching difficulties this patch does NOT include any changes to `config.def.h`. After applying you will need to add the 3 additional initializers to each key binding that you would like to modify. Any key binding that is not updated will cause a build warning but should function as it does in vanilla. + +### Download +- [git branch](https://codeberg.org/USERNAME/dwl/src/branch/press_repeat_release) +- [2024-03-27](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/press_repeat_release/press_repeat_release.patch) + +### Authors +- [minego](https://codeberg.org/minego) \ No newline at end of file diff --git a/press_repeat_release/press_repeat_release.patch b/patches/press_repeat_release/press_repeat_release.patch similarity index 100% rename from press_repeat_release/press_repeat_release.patch rename to patches/press_repeat_release/press_repeat_release.patch diff --git a/patches/primaryselection/README.md b/patches/primaryselection/README.md new file mode 100644 index 0000000..1154452 --- /dev/null +++ b/patches/primaryselection/README.md @@ -0,0 +1,10 @@ +### Description +Adds a config option to disable/enable primary selection (middle-click paste). + +### Download +- [git branch](https://codeberg.org/nullsystem/dwl/src/branch/main_primaryselection) +- [2024-04-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/primaryselection/primaryselection.patch) + +### Authors +- [nullsystem](https://codeberg.org/nullsystem) +- [Palanix](https://github.com/PalanixYT) - Previous Primary-Selection patch diff --git a/primaryselection/primaryselection.patch b/patches/primaryselection/primaryselection.patch similarity index 100% rename from primaryselection/primaryselection.patch rename to patches/primaryselection/primaryselection.patch diff --git a/patches/regexrules/README.md b/patches/regexrules/README.md new file mode 100644 index 0000000..8c014b2 --- /dev/null +++ b/patches/regexrules/README.md @@ -0,0 +1,19 @@ +### Description +Allows the use of regular expressions for window rules "app_id" and "title" + +```c +static const Rule rules[] = { + // ... + { "kitty-htop", NULL, 1 << 8, 0, -1 }, + { "^kitty$", NULL, 0, 0, -1 }, + // ... +}; +``` + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/regexrules) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/2a6560c167e5c9afc5598ac5431d23d90de8846c/regexrules/regexrules.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/98cba933c9f4099202e54f39acbf17e05bde828a/regexrules/regexrules.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/regexrules/regexrules.patch b/patches/regexrules/regexrules.patch similarity index 100% rename from regexrules/regexrules.patch rename to patches/regexrules/regexrules.patch diff --git a/patches/regions/README.md b/patches/regions/README.md new file mode 100644 index 0000000..8b5679a --- /dev/null +++ b/patches/regions/README.md @@ -0,0 +1,11 @@ +### Description +This patch will allow for a program to be used and have the current window regions on all monitors to be passed to the program as standard input. + +example is `grim -g "$(slurp)"` + +### Download +- [git branch](https://codeberg.org/sewn/dwl/src/branch/regions) +- [2024-02-14](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/regions/regions.patch) + +### Authors +- [sewn](https://github.com/apprehensions) \ No newline at end of file diff --git a/regions/regions.patch b/patches/regions/regions.patch similarity index 100% rename from regions/regions.patch rename to patches/regions/regions.patch diff --git a/patches/relative-mouse-resize/README.md b/patches/relative-mouse-resize/README.md new file mode 100644 index 0000000..9540907 --- /dev/null +++ b/patches/relative-mouse-resize/README.md @@ -0,0 +1,10 @@ +### Description +When resizing windows, the mouse will jump and resize the window in the quadrant that the resize starts at. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/relative-mouse-resize) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/655fd2916c1bcaa022ce6dcdfb370051cf64df66/relative-mouse-resize/relative-mouse-resize.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/b828e21717fa584affeb3245359c3ab615759fa4/relative-mouse-resize/relative-mouse-resize.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/relative-mouse-resize/relative-mouse-resize.patch b/patches/relative-mouse-resize/relative-mouse-resize.patch similarity index 100% rename from relative-mouse-resize/relative-mouse-resize.patch rename to patches/relative-mouse-resize/relative-mouse-resize.patch diff --git a/patches/remembertags/README.md b/patches/remembertags/README.md new file mode 100644 index 0000000..b45e87c --- /dev/null +++ b/patches/remembertags/README.md @@ -0,0 +1,16 @@ +### Description +This patch modifies the behavior when selecting tags so that selecting a tag will also enable any other tags that were previously visible. + +For example: +1. Select tag 5, with mod+5 +2. Toggle tag 8, with ctrl+mod+8 +3. Select tag 1, with mod+1. Tags 5 and 8 should no longer be visible. +4. Select tag 5 again, with mod+5. Tag 8 should be visible since it was remembered. +5. Select tag 5 again, with mod_5. Selecting the already selected tag resets any remembered tags, so now tag 5 should be the only one visible. + +### Download +- [git branch](https://codeberg.org/minego/dwl/src/branch/remembertags) +- [2024-03-27](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/remembertags/remembertags.patch) + +### Authors +- [minego](https://codeberg.org/minego) \ No newline at end of file diff --git a/remembertags/remembertags.patch b/patches/remembertags/remembertags.patch similarity index 100% rename from remembertags/remembertags.patch rename to patches/remembertags/remembertags.patch diff --git a/patches/restore-monitor/README.md b/patches/restore-monitor/README.md new file mode 100644 index 0000000..8380967 --- /dev/null +++ b/patches/restore-monitor/README.md @@ -0,0 +1,8 @@ +### Description +Moves clients to their old output when it is reattached. + +### Download +- [git branch](https://codeberg.org/eyusupov/dwl/src/branch/restore-monitor) +- [2024-04-07](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/restore-monitor/restore-monitor.patch) +### Authors +- [eyusupov](https://codeberg.org/eyusupov) \ No newline at end of file diff --git a/restore-monitor/restore-monitor.patch b/patches/restore-monitor/restore-monitor.patch similarity index 100% rename from restore-monitor/restore-monitor.patch rename to patches/restore-monitor/restore-monitor.patch diff --git a/patches/right/README.md b/patches/right/README.md new file mode 100644 index 0000000..7708ded --- /dev/null +++ b/patches/right/README.md @@ -0,0 +1,8 @@ +### Description +Put newly connected monitors on the right, like X does. + +### Download +- [2024-02-11](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/right/right.patch) + +### Authors +- [Dima Krasner](https://codeberg.org/dimkr) () diff --git a/right/right.patch b/patches/right/right.patch similarity index 100% rename from right/right.patch rename to patches/right/right.patch diff --git a/patches/rotatetags/README.md b/patches/rotatetags/README.md new file mode 100644 index 0000000..f981847 --- /dev/null +++ b/patches/rotatetags/README.md @@ -0,0 +1,9 @@ +### Description +This patch provides the ability to rotate the tagset left / right. It implements a new function rotatetags which modifies the current tagset. Same as original dwm patch. Also adds ability to move focused client to left / right adjacent tag by specifying appropriate enum value as argument. + +### Download +- [git branch](https://codeberg.org/korei999/dwl/src/branch/rotatetags) +- [2024-01-23](https://codeberg.org/korei999/dwl-patches/raw/branch/main/rotatetags/rotatetags.patch) + +### Authors +- [korei999](https://codeberg.org/korei999) \ No newline at end of file diff --git a/rotatetags/rotatetags.patch b/patches/rotatetags/rotatetags.patch similarity index 100% rename from rotatetags/rotatetags.patch rename to patches/rotatetags/rotatetags.patch diff --git a/patches/scenefx/README.md b/patches/scenefx/README.md new file mode 100644 index 0000000..754e08c --- /dev/null +++ b/patches/scenefx/README.md @@ -0,0 +1,80 @@ +### Description +Implement https://github.com/wlrfx/scenefx (commit de4ec10e1ff9347b5833f00f8615d760d9378c99) in DWL. + +```c +/* available options */ + +static const int opacity = 0; /* flag to enable opacity */ +static const float opacity_inactive = 0.5; +static const float opacity_active = 1.0; + +static const int shadow = 1; /* flag to enable shadow */ +static const int shadow_only_floating = 0; /* only apply shadow to floating windows */ +static const struct wlr_render_color shadow_color = COLOR(0x0000FFff); +static const struct wlr_render_color shadow_color_focus = COLOR(0xFF0000ff); +static const int shadow_blur_sigma = 20; +static const int shadow_blur_sigma_focus = 40; +static const char *const shadow_ignore_list[] = { "xdg-desktop-portal-gtk", NULL }; /* list of app-id to ignore */ + +static const int corner_radius = 0; /* 0 disables corner_radius */ + +static const int blur = 1; /* flag to enable blur */ +static const int blur_optimized = 1; +static const int blur_ignore_transparent = 1; +static const struct blur_data blur_data = { + .radius = 5, + .num_passes = 3, + .noise = 0.02, + .brightness = 0.9, + .contrast = 0.9, + .saturation = 1.1, +}; +``` + +> **NOTE:** If you are using nix, I have packaged scenefx https://github.com/wochap/nix-config/blob/main/packages/scenefx/default.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 + +> **NOTE:** Blur doesn't work on windows with opacity set (opacity_active, opacity_inactive) + +> **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 +
+
+
+
+
+ +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/scenefx) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/6e3a57ffd16dafa31900b7e89e51672bd7bcc1e8/scenefx/scenefx.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/7a5c3420822074c544fa102e030b7c30aa6b6be8/scenefx/scenefx.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/scenefx/scenefx.patch b/patches/scenefx/scenefx.patch similarity index 100% rename from scenefx/scenefx.patch rename to patches/scenefx/scenefx.patch diff --git a/patches/setupenv/README.md b/patches/setupenv/README.md new file mode 100644 index 0000000..07a67a4 --- /dev/null +++ b/patches/setupenv/README.md @@ -0,0 +1,8 @@ +### Description +Allow configuring environment variables in config.h + +### Download + - [git branch](https://codeberg.org/notchoc/dwl/src/branch/setupenv) + - [2024-03-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/setupenv/setupenv.patch) +### Authors + - [notchoc](https://codeberg.org/notchoc) diff --git a/setupenv/setupenv.patch b/patches/setupenv/setupenv.patch similarity index 100% rename from setupenv/setupenv.patch rename to patches/setupenv/setupenv.patch diff --git a/patches/shiftview/README.md b/patches/shiftview/README.md new file mode 100644 index 0000000..2d25820 --- /dev/null +++ b/patches/shiftview/README.md @@ -0,0 +1,9 @@ +### Description +Add keybindings to cycle through tags with visible clients. + +### Download +- [git branch](https://codeberg.org/guidocella/dwl/src/branch/shiftview) +- [2024-01-27](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/shiftview/shiftview.patch) + +### Authors +- [Guido Cella](https://codeberg.org/guidocella) diff --git a/shiftview/shiftview.patch b/patches/shiftview/shiftview.patch similarity index 100% rename from shiftview/shiftview.patch rename to patches/shiftview/shiftview.patch diff --git a/patches/simpleborders/README.md b/patches/simpleborders/README.md new file mode 100644 index 0000000..7f4b1eb --- /dev/null +++ b/patches/simpleborders/README.md @@ -0,0 +1,8 @@ +### Description +Like smartborders. Don't put borders when there is only one window on the screen. + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/simpleborders) +- [2023-01-07](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/simpleborders/simpleborders.patch) +### Authors +- [Ben Collerson](https://codeberg.org/bencc) \ No newline at end of file diff --git a/simpleborders/simpleborders.patch b/patches/simpleborders/simpleborders.patch similarity index 100% rename from simpleborders/simpleborders.patch rename to patches/simpleborders/simpleborders.patch diff --git a/patches/singlemaster/README.md b/patches/singlemaster/README.md new file mode 100644 index 0000000..46756a3 --- /dev/null +++ b/patches/singlemaster/README.md @@ -0,0 +1,9 @@ +### Description +Restricts layout to only having one client in the master area. + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/singlemaster) +- [2023-01-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/singlemaster/singlemaster.patch) + +### Authors +- [Ben Collerson](https://codeberg.org/bencc) \ No newline at end of file diff --git a/singlemaster/singlemaster.patch b/patches/singlemaster/singlemaster.patch similarity index 100% rename from singlemaster/singlemaster.patch rename to patches/singlemaster/singlemaster.patch diff --git a/patches/singletagset/README.md b/patches/singletagset/README.md new file mode 100644 index 0000000..745f747 --- /dev/null +++ b/patches/singletagset/README.md @@ -0,0 +1,9 @@ +### Description +Allows for a single set of tags to be shared between multiple monitors. + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/singletagset) +- [2024-05-08](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/singletagset/singletagset.patch) + +### Authors +- [Ben Collerson](https://codeberg.org/bencc) diff --git a/singletagset/singletagset.patch b/patches/singletagset/singletagset.patch similarity index 100% rename from singletagset/singletagset.patch rename to patches/singletagset/singletagset.patch diff --git a/patches/skipfocus/README.md b/patches/skipfocus/README.md new file mode 100644 index 0000000..4511994 --- /dev/null +++ b/patches/skipfocus/README.md @@ -0,0 +1,16 @@ +### Description +Adds a rule-based ability to skip automatically focusing a window on creation. Expected use-case is for transient windows like notifications etc. The window can still be focused by mouse or keyboard movement. + +| `skipfocus` value | effect | +| ----------------- | ------------------ | +| 0 | usual | +| 1 | skipautofocus | +| 2 | skipfocus entirely | + +### Download +- [20240108](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/skipfocus/skipfocus.patch) +- [git branch](https://codeberg.org/dhruva_sambrani/dwl/src/branch/skipfocus) + +### Authors +- [dhruva_sambrani](https://codeberg.org/dhruva_sambrani) + diff --git a/skipfocus/skipfocus.patch b/patches/skipfocus/skipfocus.patch similarity index 100% rename from skipfocus/skipfocus.patch rename to patches/skipfocus/skipfocus.patch diff --git a/patches/smartborders/README.md b/patches/smartborders/README.md new file mode 100644 index 0000000..7d990ed --- /dev/null +++ b/patches/smartborders/README.md @@ -0,0 +1,12 @@ +### Description +The borders of a window aren't drawn when the window is the only tiling window in its tag OR if the window is in a monocle layout. + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/smartborders) +- [2024-03-31](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/smartborders/smartborders.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) +- [fauxmight](https://codeberg.org/fauxmight) +- [Piotr Marendowski](https://github.com/piotr-marendowski) +- Andrey Proskurin diff --git a/smartborders/smartborders.patch b/patches/smartborders/smartborders.patch similarity index 100% rename from smartborders/smartborders.patch rename to patches/smartborders/smartborders.patch diff --git a/patches/snail/README.md b/patches/snail/README.md new file mode 100644 index 0000000..0c94b79 --- /dev/null +++ b/patches/snail/README.md @@ -0,0 +1,9 @@ +### Description +Adds a spiral-inspired layout for wide screens. + +### Download +- [2024-02-11](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/snail/snail.patch) + +### Authors +- [Dima Krasner](https://codeberg.org/dimkr) () +- [Nikita Ivanov](https://github.com/NikitaIvanovV) (fix for flickering) diff --git a/snail/snail.patch b/patches/snail/snail.patch similarity index 100% rename from snail/snail.patch rename to patches/snail/snail.patch diff --git a/patches/swallow/README.md b/patches/swallow/README.md new file mode 100644 index 0000000..eaa5b6b --- /dev/null +++ b/patches/swallow/README.md @@ -0,0 +1,25 @@ +### Description +Terminals swallow windows that they are the parent of. + +foot is the terminal by default, you can change it in client rules in config.h. + +2023-08-16 and up are made to also work with x windows: https://codeberg.org/dwl/dwl/issues/331 + +### Download +- [git branch](https://codeberg.org/notchoc/dwl/src/branch/swallow) +- [2024-05-02](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/swallow/swallow.patch) +- [2024-04-03](https://codeberg.org/dwl/dwl-patches/raw/commit/3c9a8e3232a8531871924484cef1ef0938730e15/swallow/swallow.patch) +- [2024-01-01](https://codeberg.org/dwl/dwl-patches/raw/commit/8a352a1b27a64821ba9fbfda52fe82463ac84c66/swallow/swallow.patch) +- [2023-10-26](https://github.com/djpohly/dwl/compare/main...youbitchoc:swallow.patch) +- [2023-08-16](https://github.com/djpohly/dwl/compare/main...mewkl:swallowx.patch) +- [2023-07-15](https://github.com/djpohly/dwl/compare/main...NikitaIvanovV:swallow.patch) +- [v0.4](https://github.com/djpohly/dwl/compare/main...dm1tz:04-swallow.patch) +- [2021-12-03](https://github.com/djpohly/dwl/compare/main...dm1tz:swallow.patch) + +### Authors +- [Dmitry Zakharchenko](https://github.com/dm1tz) +- [Palanix](https://codeberg.org/Palanix) +- [Nikita Ivanov](https://github.com/NikitaIvanovV) +- [Connor Worrell](https://github.com/ConnorWorrell) +- [Mewkl](https://github.com/mewkl) +- [Choc](https://codeberg.org/notchoc) diff --git a/swallow/swallow.patch b/patches/swallow/swallow.patch similarity index 100% rename from swallow/swallow.patch rename to patches/swallow/swallow.patch diff --git a/patches/swapandfocusdir/README.md b/patches/swapandfocusdir/README.md new file mode 100644 index 0000000..9082bfd --- /dev/null +++ b/patches/swapandfocusdir/README.md @@ -0,0 +1,13 @@ +### Description +Focus the window (floating or no) to the left, right, above, or below the current focused window. + +Swap the focused window with the window (no floating) to the left, right, above, or below. + +**NOTE:** this patch uses the same algorithm that River uses to select the window in the given direction. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/swapandfocusdir) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/swapandfocusdir/swapandfocusdir.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) diff --git a/swapandfocusdir/swapandfocusdir.patch b/patches/swapandfocusdir/swapandfocusdir.patch similarity index 100% rename from swapandfocusdir/swapandfocusdir.patch rename to patches/swapandfocusdir/swapandfocusdir.patch diff --git a/patches/switchtotag/README.md b/patches/switchtotag/README.md new file mode 100644 index 0000000..29d08d4 --- /dev/null +++ b/patches/switchtotag/README.md @@ -0,0 +1,9 @@ +### Description +Add a rule option to switch to the configured tag when a window opens, then switch back when it closes. + +### Download +- [git branch](https://codeberg.org/guidocella/dwl/src/branch/switchtotag) +- [2024-04-01](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/switchtotag/switchtotag.patch) + +### Authors +- [Guido Cella](https://codeberg.org/guidocella) diff --git a/switchtotag/switchtotag.patch b/patches/switchtotag/switchtotag.patch similarity index 100% rename from switchtotag/switchtotag.patch rename to patches/switchtotag/switchtotag.patch diff --git a/patches/tab/README.md b/patches/tab/README.md new file mode 100644 index 0000000..9f138a4 --- /dev/null +++ b/patches/tab/README.md @@ -0,0 +1,9 @@ +### Description +Add a tab bar or window title to the top or bottom of windows. + +### Download +- [git branch](https://codeberg.org/dev-gm/dwl/src/branch/tab) +- [2024-03-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tab/tab.patch) + +### Authors +- [dev-gm](https://codeberg.org/dev-gm) \ No newline at end of file diff --git a/tab/tab.patch b/patches/tab/tab.patch similarity index 100% rename from tab/tab.patch rename to patches/tab/tab.patch diff --git a/patches/tablet-input/README.md b/patches/tablet-input/README.md new file mode 100644 index 0000000..278ba16 --- /dev/null +++ b/patches/tablet-input/README.md @@ -0,0 +1,12 @@ +### Description +implements wlr-tablet-v2 for drawing tablets and supports cursor emulation + +inspired by @guyuming76's [branch](https://codeberg.org/guyuming76/dwl/commits/branch/graphic_tablet), with coding help from @Palanix and testing by @Thanatos + +### Download + - [git branch](https://codeberg.org/notchoc/dwl/src/branch/tablet-input) + - [2024-05-04](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tablet-input/tablet-input.patch) + +### Authors + - [notchoc](https://codeberg.org/notchoc) + - [Palanix](https://codeberg.org/Palanix) diff --git a/tablet-input/tablet-input.patch b/patches/tablet-input/tablet-input.patch similarity index 100% rename from tablet-input/tablet-input.patch rename to patches/tablet-input/tablet-input.patch diff --git a/patches/titleurgent/README.md b/patches/titleurgent/README.md new file mode 100644 index 0000000..aa4c99d --- /dev/null +++ b/patches/titleurgent/README.md @@ -0,0 +1,11 @@ +### Description +Whenever a client title changes set the client's urgent flag. + +Hacky solution I use to deal with qutebrowser not setting urgent flag when a new tab is opened. + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/titleurgent) +- [2024-01-02](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/titleurgent/titleurgent.patch) + +### Authors +- [Ben Collerson](https://codeberg.org/bencc) \ No newline at end of file diff --git a/titleurgent/titleurgent.patch b/patches/titleurgent/titleurgent.patch similarity index 100% rename from titleurgent/titleurgent.patch rename to patches/titleurgent/titleurgent.patch diff --git a/patches/toggle_constraints/README.md b/patches/toggle_constraints/README.md new file mode 100644 index 0000000..7f2be77 --- /dev/null +++ b/patches/toggle_constraints/README.md @@ -0,0 +1,17 @@ +### Description +Adds a function called togglepointerconstraints to turn pointer constraint enforcement on and off with a keybind. + +### Usage +Add a binding for the togglepointerconstraints function in the keys[] array of config.h. The function does not take any argument. Pointer constraints default to enabled, and can be toggled on and off with the function from there. + +Example: +``` +{ MODKEY, XKB_KEY_c, togglepointerconstraints, {0}}, +``` + +### Download +- [Git branch](https://codeberg.org/thanatos/dwl/src/branch/toggle_constraints) +- [2024-03-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/toggle_constraints/toggle_constraints) + +### Authors +- [thanatos](https://codeberg.org/thanatos) \ No newline at end of file diff --git a/toggle_constraints/toggle_constraints.patch b/patches/toggle_constraints/toggle_constraints.patch similarity index 100% rename from toggle_constraints/toggle_constraints.patch rename to patches/toggle_constraints/toggle_constraints.patch diff --git a/patches/togglekblayout/README.md b/patches/togglekblayout/README.md new file mode 100644 index 0000000..9bdc6b4 --- /dev/null +++ b/patches/togglekblayout/README.md @@ -0,0 +1,11 @@ +### Description +Switch between multiple keyboard layouts at runtime. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/togglekblayout) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/togglekblayout/togglekblayout.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [Stivvo](https://github.com/Stivvo) + diff --git a/togglekblayout/togglekblayout.patch b/patches/togglekblayout/togglekblayout.patch similarity index 100% rename from togglekblayout/togglekblayout.patch rename to patches/togglekblayout/togglekblayout.patch diff --git a/patches/togglekblayoutandoptions/README.md b/patches/togglekblayoutandoptions/README.md new file mode 100644 index 0000000..1260b27 --- /dev/null +++ b/patches/togglekblayoutandoptions/README.md @@ -0,0 +1,9 @@ +### Description +Switch between multiple keyboard layouts, variants, and options at runtime. + +### Download +- [git branch](https://codeberg.org/dev-gm/dwl/src/branch/togglekblayoutandoptions) +- [2024-03-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/togglekblayoutandoptions/togglekblayoutandoptions.patch) + +### Authors +- [dev-gm](https://codeberg.org/dev-gm) \ No newline at end of file diff --git a/togglekblayoutandoptions/togglekblayoutandoptions.patch b/patches/togglekblayoutandoptions/togglekblayoutandoptions.patch similarity index 100% rename from togglekblayoutandoptions/togglekblayoutandoptions.patch rename to patches/togglekblayoutandoptions/togglekblayoutandoptions.patch diff --git a/patches/unclutter/README.md b/patches/unclutter/README.md new file mode 100644 index 0000000..8bbddfb --- /dev/null +++ b/patches/unclutter/README.md @@ -0,0 +1,13 @@ +### Description +Hide the mouse cursor if it isn't being used for a certain period of time. + +### Download +- [git branch](https://codeberg.org/guidocella/dwl/src/branch/unclutter) +- [2024-04-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/unclutter/unclutter.patch) +- [v0.4](https://github.com/djpohly/dwl/compare/main...dm1tz:04-unclutter.patch) +- [2022-02-12](https://github.com/djpohly/dwl/compare/main...guidocella:unclutter.patch) + +### Authors +- [Guido Cella](https://github.com/guidocella) +- [dm1tz](https://github.com/dm1tz) +- [Ben Collerson](https://codeberg.org/benc) diff --git a/unclutter/unclutter.patch b/patches/unclutter/unclutter.patch similarity index 100% rename from unclutter/unclutter.patch rename to patches/unclutter/unclutter.patch diff --git a/patches/vanitygaps/README.md b/patches/vanitygaps/README.md new file mode 100644 index 0000000..187cc68 --- /dev/null +++ b/patches/vanitygaps/README.md @@ -0,0 +1,10 @@ +### Description +Adds (inner) gaps between client windows and (outer) gaps between windows and the screen edge in a flexible manner. + +### Download +- [git branch](https://codeberg.org/sevz/dwl/src/branch/vanitygaps) +- [2023-11-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/vanitygaps/vanitygaps.patch) + +### Authors +- [sevz](https://codeberg.org/sevz) +- [Bonicgamer](https://github.com/Bonicgamer) diff --git a/vanitygaps/vanitygaps.patch b/patches/vanitygaps/vanitygaps.patch similarity index 100% rename from vanitygaps/vanitygaps.patch rename to patches/vanitygaps/vanitygaps.patch diff --git a/patches/varcol/README.md b/patches/varcol/README.md new file mode 100644 index 0000000..9e5b1b0 --- /dev/null +++ b/patches/varcol/README.md @@ -0,0 +1,15 @@ +### Description +A variable column layout. + +This layout behaves much the same as the `tile` layout, but adds key bindings that can be used to: +- Increase/decrease the number of non-master columns +- Increase/decrease the colfact to adjust the column spacing +- Push a client in or out of a special `left` column +- Toggle displaying the special `left` column + +### Download +- [git branch](https://codeberg.org/minego/dwl/src/branch/varcol) +- [2024-03-27](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/varcol/varcol.patch) + +### Authors +- [minego](https://codeberg.org/minego) diff --git a/varcol/varcol.patch b/patches/varcol/varcol.patch similarity index 100% rename from varcol/varcol.patch rename to patches/varcol/varcol.patch diff --git a/patches/viewnextocctag/README.md b/patches/viewnextocctag/README.md new file mode 100644 index 0000000..d1a43d2 --- /dev/null +++ b/patches/viewnextocctag/README.md @@ -0,0 +1,9 @@ +### Description +View the next or previous tag, skipping any tags that do not have any clients. + +### Download +- [git branch](https://codeberg.org/bencc/dwl/src/branch/viewnextocctag) +- [2023-01-06](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/viewnextocctag/viewnextocctag.patch) + +### Authors +- [Ben Collerson](https://codeberg.org/bencc) diff --git a/viewnextocctag/viewnextocctag.patch b/patches/viewnextocctag/viewnextocctag.patch similarity index 100% rename from viewnextocctag/viewnextocctag.patch rename to patches/viewnextocctag/viewnextocctag.patch diff --git a/patches/virtual-pointer/README.md b/patches/virtual-pointer/README.md new file mode 100644 index 0000000..451d26e --- /dev/null +++ b/patches/virtual-pointer/README.md @@ -0,0 +1,12 @@ +### Description +implement wlr_virtual_pointer_v1 for things like wayvnc server to work + +**NOTE:** no longer neccessary if you are using a DWL version after https://codeberg.org/dwl/dwl/commit/ac6074f4fdb8cc263c877f08e16a5805d3bb22d2 + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/v0.5/virtual-pointer) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/0096e49402bc59b4050e12cdb9befb79d0011006/virtual-pointer/virtual-pointer.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [youbitchoc](https://github.com/youbitchoc) \ No newline at end of file diff --git a/virtual-pointer/virtual-pointer.patch b/patches/virtual-pointer/virtual-pointer.patch similarity index 100% rename from virtual-pointer/virtual-pointer.patch rename to patches/virtual-pointer/virtual-pointer.patch diff --git a/patches/winview/README.md b/patches/winview/README.md new file mode 100644 index 0000000..322d992 --- /dev/null +++ b/patches/winview/README.md @@ -0,0 +1,34 @@ +### Description +Implements the function `winview` which switches the visible tags to the tags on which the current client is visible. + +This patch is inspired from . Citing the description of the dwm patch: + +> Dwm tags are a powerfull feature that allows organizing windows in workspaces. Sometime it can be difficult to remember the tag to activate to unhide a window. With the winview patch the window to unhide can be selected from the all-window view. The user switches to the all-window view (Mod1-0), selects the window (Mod1-j/k or using the mouse) and press Mod1-o. The key Mod1-o switches the view to the selected window tag. +> +> #### Recommend patches +> +> The grid layout is well adapted to display many windows in a limited space. Using both grid and pertag patches you will be able to select this layout for the all-window view while keeping your preferred layout for the other views. +> Configuration and Installation +> Using the default configuration file +> +> Make sure the directory where you build dwm does not contain a config.h file; +> Apply the patch; +> Run make and make install. +> +> Using an existing customised configuration file +> +> Apply the patch; Add the following element in the keys array: +> +> `{ MODKEY, XK_o, winview, {0} },` +> +> Run make and make install. +> +> An example of how to insert this line can be found in the default config file template, config.def.h. + +### Download +- [2023-11-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/winview/winview.patch) +- [git branch](https://codeberg.org/dhruva_sambrani/dwl/src/branch/winview) + +### Authors +- [Dhruva Sambrani](https://codeberg.org/dhruva_sambrani) + diff --git a/winview/winview.patch b/patches/winview/winview.patch similarity index 100% rename from winview/winview.patch rename to patches/winview/winview.patch diff --git a/patches/xwayland-handle-minimize/README.md b/patches/xwayland-handle-minimize/README.md new file mode 100644 index 0000000..dde0935 --- /dev/null +++ b/patches/xwayland-handle-minimize/README.md @@ -0,0 +1,9 @@ +### Description +Some windows (wine) games go black screen after losing focus and never recover https://github.com/swaywm/sway/issues/4324. This patch fixes this by handling minimize requests that some xwayland clients do. + + ## Download +- [git branch](https://codeberg.org/korei999/dwl/src/branch/xwayland-handle-minimize) +- [2024-04-01](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/xwayland-handle-minimize/xwayland-handle-minimize.patch) + +### Authors +- [korei999](https://codeberg.org/korei999) \ No newline at end of file diff --git a/xwayland-handle-minimize/xwayland-handle-minimize.patch b/patches/xwayland-handle-minimize/xwayland-handle-minimize.patch similarity index 100% rename from xwayland-handle-minimize/xwayland-handle-minimize.patch rename to patches/xwayland-handle-minimize/xwayland-handle-minimize.patch diff --git a/patches/zoomswap/README.md b/patches/zoomswap/README.md new file mode 100644 index 0000000..e557e98 --- /dev/null +++ b/patches/zoomswap/README.md @@ -0,0 +1,52 @@ +### Description +This patch swaps the current window (C) with the previous master (P) when zooming. +``` +Original behaviour : ++-----------------+-------+ +| | | +| | | +| | | +| P +-------| +| | | +| | C | +| | | ++-----------------+-------+ + ++-----------------+-------+ +| | | +| | P | +| | | +| C +-------| +| | | +| | | +| | | ++-----------------+-------+ + +New Behaviour : ++-----------------+-------+ +| | | +| | | +| | | +| C +-------+ +| | | +| | P | +| | | ++-----------------+-------+ + ++-----------------+-------+ +| | | +| | | +| | | +| P +-------+ +| | | +| | C | +| | | ++-----------------+-------+ +``` + +### Download +- [git branch](https://codeberg.org/Palanix/dwl/src/branch/zoomswap) +- [2024-02-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/zoomswap/zoomswap.patch) + +### Authors +- [Palanix](https://codeberg.org/Palanix) diff --git a/zoomswap/zoomswap.patch b/patches/zoomswap/zoomswap.patch similarity index 100% rename from zoomswap/zoomswap.patch rename to patches/zoomswap/zoomswap.patch