Commit Briefs

9a6271bd92 Brett Fisher

README.md, bxbar.1: Add user-facing documentation. (main)

- Create README.md detailing build, configuration, and pipeline. - Create bxbar.1 manual page with standard SEE ALSO references.


a06c6f9c6b Brett Fisher

bxinfo.c: Remove unnecessary comments.


c403f22497 Brett Fisher

bxbar.c: Standardize code structure and improve logging safety.

- Apply static qualifiers to run() and draw() for consistency. - Forward-declare text_fit() to match the call hierarchy. - Reorder functions to mirror the execution flow. - Remove redundant initial draw logic.


dd102aa1db Brett Fisher

bxbarrc.lua: Refactor workspace loop and refine battery UX.

- Use table.insert and table.concat for workspace string building. - Update battery icon logic to use math.ceil for more intuitive visual depletion. - Remove dead code remnants and redundant comments.


2dd667eec2 Brett Fisher

config.def.h: Remove comment, adjust spacing.


468b302a00 Brett Fisher

Makefile: Edit heading comment.


fc73d01e9b Brett Fisher

LICENSE.md: Select license and add file.


1157627b86 Brett Fisher

bxnet.c, config.def.h, bxbarrc.lua, Makefile: Implement C helper

for network interface status. - Create bxnet to monitor /sys/class/net/ for active interfaces. - Implement kernel-level detection for WiFi and Ethernet. - Define network state icons in config.def.h. - Update Makefile to build the new helper binary.


0c5cb07119 Brett Fisher

.gitignore: Update with bxnet.


f445665c06 Brett Fisher

bxbar.c, config.def.h: Implement die() and refine logging strategy.

- Introduce die() for fatal error handling and standardized exit codes. - Implement compile-time DEBUG_LOGGING gate in config.def.h. - Remove hardcoded log path; pipe logmsg() output to stderr. - Standardize error reporting using die() in setup and initialization.


9ec8bc72c2 Brett Fisher

bxbar.c, bxbarrc.lua, config.def.h: Use invisible delimiter and

refine spacing. - Set DELIMITER to '\x01' (SOH) to prevent visual rendering artifacts. - Implement gap logic in draw() to enforce consistent 4-space separation between left and right elements. - Change default bar height. - Update bxbarrc.lua to use string.char(1) for delimiter output. - Update bxbarrc.lua to find battery path once at startup. - Update bxbarrc.lua to get and display battery status.



a20ff3ff0f Brett Fisher

Makefile: Edit per refactor of bxbar.c and bxinfo.c.


4b44c2212d Brett Fisher

manage-bxbar, datetime.lua, workspace.lua: Remove Lua scripts as

part of refractor to implement workspace and active window monitoring.


c2143b5760 Brett Fisher

bxbar.c, bxbar-ctl.lua, bxinfo.c: Implement workspace and active

window monitoring. - Add bxinfo helper to query EWMH atoms directly from X server. - Refactor lua/manage-bxbar to bxbar-ctl.lua to orchestrate window/workspace state. - Update bxwm.c to clear active window state on empty workspaces. - Consolidate status bar logic into a single Lua loop.


a413da8b88 Brett Fisher

.gitignore: Update file


d929f251e9 Brett Fisher

config.def.h: Corrections.

- Change default bar height. - Add missing DELIMITER parameter.


0230180ef9 Brett Fisher

lua/manage-bxbar, lua/bxbar/datetime.lua, lua/bxbar/workspace.lua:

Create scripts to send information to display in bxbar. - manage-bxbar to manage Lua modules. - date-time.lua to display date, day of week, and time. - workspace.lua to display current workspace number


485331c7b9 Brett Fisher

bxbar.c, config.def.h: Set left/right split rendering via DELIMITER.

- Extract text truncation into text_fit() helper. - Split stdin on DELIMITER so text before the delimiter renders left-aligned and text after renders right-aligned. - Falls back to full left-aligned rendering when no delimiter is present.


afd6d93b3f Brett Fisher

Makefile: Add lua script variable and targets.


1ec25070c1 Brett Fisher

config.def.h: Removed unused code.


7ccb65c224 Brett Fisher

bxbar.c: Correct name in heading comment.


e8322139d4 Brett Fisher

bxbar.c: Organize order of functions.

- Set order of forward function declarations and functions consistent with when called by main(), then setup(), and run() functions.


fc4889eaa5 Brett Fisher

bxbar.c: Edit comment heading.

- Make consistent with comment headings in other basic X projects


65e0c35b02 Brett Fisher

config.def.h: Adopt conventional Make variable and target naming.

- Rename LIBS to LDLIBS for standard implicit rule compatibility. - Add explicit 'all' target as default build entry point. - Declare 'all' as phony.