bar: sub-patches into own patches

sewn 2024-04-05 14:17:30 +03:00
parent ea223e74cc
commit 7043b231fc
No known key found for this signature in database
6 changed files with 43 additions and 11 deletions

@ -81,9 +81,13 @@ Additionally, when you have write access to this repository, remove the `.md` fi
* [fallback](https://codeberg.org/dwl/dwl-patches/wiki/fallback)
* [monitorconfig](https://codeberg.org/dwl/dwl-patches/wiki/monitorconfig)
* [right](https://codeberg.org/dwl/dwl-patches/wiki/right)
## Other
* [autostart](https://codeberg.org/dwl/dwl-patches/wiki/autostart)
## Bar
* [bar](https://codeberg.org/dwl/dwl-patches/wiki/bar)
* [barpadding](https://codeberg.org/dwl/dwl-patches/wiki/barpadding)
* [barborder](https://codeberg.org/dwl/dwl-patches/wiki/barborder)
* [hide_vacant_tags](https://codeberg.org/dwl/dwl-patches/wiki/hide_vacant_tags)
## Other
* [autostart](https://codeberg.org/dwl/dwl-patches/wiki/autostart)
* [borders](https://codeberg.org/dwl/dwl-patches/wiki/borders)
* [coredump](https://codeberg.org/dwl/dwl-patches/wiki/coredump)
* [env](https://codeberg.org/dwl/dwl-patches/wiki/env)

@ -4,6 +4,9 @@
* [alwayscenter](https://codeberg.org/dwl/dwl-patches/wiki/alwayscenter)
* [autostart](https://codeberg.org/dwl/dwl-patches/wiki/autostart)
* [bar](https://codeberg.org/dwl/dwl-patches/wiki/bar)
* [bar](https://codeberg.org/dwl/dwl-patches/wiki/bar)
* [barpadding](https://codeberg.org/dwl/dwl-patches/wiki/barpadding)
* [barborder](https://codeberg.org/dwl/dwl-patches/wiki/barborder)
* [borders](https://codeberg.org/dwl/dwl-patches/wiki/borders)
* [bottomstack](https://codeberg.org/dwl/dwl-patches/wiki/bottomstack)
* [center-terminal](https://codeberg.org/dwl/dwl-patches/wiki/center-terminal)
@ -28,6 +31,7 @@
* [gestures](https://codeberg.org/dwl/dwl-patches/wiki/gestures)
* [hide-behind-fullscreen](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-fullscreen)
* [hide-behind-monocle](https://codeberg.org/dwl/dwl-patches/wiki/hide-behind-monocle)
* [hide_vacant_tags](https://codeberg.org/dwl/dwl-patches/wiki/hide_vacant_tags)
* [hiderule](https://codeberg.org/dwl/dwl-patches/wiki/hiderule)
* [ipc](https://codeberg.org/dwl/dwl-patches/wiki/ipc)
* [kblayout](https://codeberg.org/dwl/dwl-patches/wiki/kblayout)

11
bar.md

@ -14,15 +14,9 @@ slstatus -s | dwl
### Download
- [git branch](https://codeberg.org/sewn/dwl/src/branch/bar)
- [2024-03-18](https://codeberg.org/dwl/dwl-patches/raw/branch/main/bar/bar.patch)
- [2024-03-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/bar/bar.patch)
Below is a list of patches ported from dwm, or are general patches for the bar patch:
<!-- petrifiedoak.com was begging me to make these patch and he somehow couldn't -->
* [barpadding](https://codeberg.org/dwl/dwl-patches/raw/branch/main/bar/barpadding.patch): adds padding around the bar
* [border](https://codeberg.org/dwl/dwl-patches/raw/branch/main/bar/border.patch): adds a border around the bar
* [hide vacant tags](https://codeberg.org/dwl/dwl-patches/raw/branch/main/bar/hide_vacant_tags.patch): don't draw vacant tags or tags with no clients
Below is a preview of the barpadding and border patches applied.
Below is a preview of the barpadding and barborder patches applied.
![bar, barpadding and border patch preview](bar-with-barpadding-and-border.png)
@ -34,4 +28,3 @@ Below is a preview of the barpadding and border patches applied.
- [MadcowOG](https://github.com/MadcowOG)
- [kolumni](https://github.com/kolunmi/dwlb)

10
barborder.md Normal file

@ -0,0 +1,10 @@
### Description
Add a border around the [bar](../bar/bar.md) similar to how a client is given a border.
### Download
- [2024-03-23](https://codeberg.org/dwl/dwl-patches/raw/branch/main/barborder/barborder.patch) (bar 2024-03-25)
### Authors
- [sewn](https://codeberg.org/sewn)

10
barpadding.md Normal file

@ -0,0 +1,10 @@
### Description
Add vertical and horizontal space between the [bar](../bar/bar.md) and the edge of the screen.
### Download
- [2024-03-25](https://codeberg.org/dwl/dwl-patches/raw/branch/main/barpadding/barpadding.patch) (bar 2024-03-25)
### Authors
- [sewn](https://codeberg.org/sewn)

11
hide_vacant_tags.md Normal file

@ -0,0 +1,11 @@
### Description
Prevent [../bar/bar.md] 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-03-24](https://codeberg.org/dwl/dwl-patches/raw/branch/main/hide_vacant_tags/hide_vacant_tags.patch) (bar 2024-03-25)
### Authors
- [sewn](https://codeberg.org/sewn)