Author: pbadeer
Date: 2025-07-20
Description: Add directional gap support with runtime adjustment
Commit Version: 539a8ff (fix bottom bar struts taking half screen && windows killed on exit)
This patch extends the existing gap system to support individual gaps for each side:
gap_top, gap_bottom, gap_left, and gap_right. The original 'gaps' config option
is preserved for backward compatibility and sets all four directional gaps when used.
Key features:
- Individual gap configuration per side (gap_top, gap_bottom, gap_left, gap_right)
- Runtime adjustment functions for each gap direction
- Parser commands: increase_gap_[side], decrease_gap_[side]
- Backward compatibility with existing 'gaps' option
- Fixed stack window positioning to avoid internal gaps
- Transparent border fix for picom compatibility
- Added linux-headers dependency for Alpine Linux builds
This allows users to configure asymmetric gaps for specific layouts while
maintaining the simplicity of the original gap system for basic use cases.
---
diff --git a/README.md b/README.md
index 11c0314..262b6de 100644
--- a/README.md
+++ b/README.md
@@ -259,7 +259,7 @@ sudo zypper install libX11-devel libXinerama-devel gcc make
Alpine Linux
doas apk update
-doas apk add libx11-dev libxinerama-dev gcc make musl-dev