summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommaso Negri <me@tommasongr.com>2026-08-11 14:18:06 +0200
committerTommaso Negri <me@tommasongr.com>2026-08-11 14:18:06 +0200
commit68f63858702015f8994b9c3413708e08ed4693e7 (patch)
tree15563192cf8880e34c80f5e57a7c01fad46c3288
parent10fed47a34ace6f5fc4c9afe7144f68d1985d8fa (diff)
downloadbar-68f63858702015f8994b9c3413708e08ed4693e7.tar.gz
bar-68f63858702015f8994b9c3413708e08ed4693e7.zip
fix typo
-rw-r--r--README.md4
-rw-r--r--Sources/bar/bar.docc/patches.md6
-rw-r--r--patches/patch-screen_hotplug-20260810-f6805c9.patch (renamed from patches/bar-screen_hotplug-20260810-f6805c9.patch)0
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index ad23845..55fba16 100644
--- a/README.md
+++ b/README.md
@@ -174,12 +174,12 @@ Browse the available patches in the [patches directory](patches/).
| Patch | Description |
|---|---|
| [font-offset](patches/bar-font_offset-20260810-11d813c.patch) | Adjust vertical text centering |
-| [screen-hotplug](patches/bar-screen_hotplug-20260810-f6805c9.patch) | Auto-rebuild windows when displays are added/removed |
+| [screen-hotplug](patches/patch-screen_hotplug-20260810-f6805c9.patch) | Auto-rebuild windows when displays are added/removed |
To apply a patch:
```shell
-curl -sL https://raw.githubusercontent.com/paninihouse/bar/refs/heads/master/patches/bar-screen_hotplug-20260810-f6805c9.patch | patch -p1
+curl -sL https://raw.githubusercontent.com/paninihouse/bar/refs/heads/master/patches/patch-screen_hotplug-20260810-f6805c9.patch | patch -p1
make install
```
diff --git a/Sources/bar/bar.docc/patches.md b/Sources/bar/bar.docc/patches.md
index e2646f3..de0514a 100644
--- a/Sources/bar/bar.docc/patches.md
+++ b/Sources/bar/bar.docc/patches.md
@@ -18,7 +18,7 @@ The file contains a diff of the changes needed to add a specific feature.
For example, to apply a patch from the *bar* collection:
```shell
-curl -sL https://raw.githubusercontent.com/paninihouse/bar/refs/heads/master/patches/bar-font_offset-20260810-11d813c.patch | patch -p1
+curl -sL https://raw.githubusercontent.com/paninihouse/bar/refs/heads/master/patches/patch-font_offset-20260810-11d813c.patch | patch -p1
```
After applying the patch, rebuild the program:
@@ -63,13 +63,13 @@ This modular approach lets the community mix and match features without duplicat
When publishing a patch, use a descriptive file name that follows the convention:
```
-bar-<feature_name>-<date>-<commit>.patch
+patch-<feature_name>-<date>-<commit>.patch
```
For example:
```
-bar-font_offset-20260810-11d813c.patch
+patch-font_offset-20260810-11d813c.patch
```
The date pinpoints which version of the code the patch was made against, and the commit hash makes it easy to look up the exact state of the repository at that point.
diff --git a/patches/bar-screen_hotplug-20260810-f6805c9.patch b/patches/patch-screen_hotplug-20260810-f6805c9.patch
index 1533b15..1533b15 100644
--- a/patches/bar-screen_hotplug-20260810-f6805c9.patch
+++ b/patches/patch-screen_hotplug-20260810-f6805c9.patch