Settings

Theme

Show HN: Hardbar – compile-time defined i3bar

github.com

2 points by pjz a month ago · 0 comments · 1 min read

Reader

A fast, compile-time-configured status bar for i3 and sway, outputting the i3bar JSON protocol.

I was worried about the performance of i3blocks due to the constant fork-and-execs, and I thought zig would make it easy to have a bar defined at compile-time.

I started on this idea a couple years ago but ended up somewhat stymied by lack of time to chase down some corners of zig syntax interaction. Recently I started playing with Claude Code, and I was curious as to how well it would deal with zig so picked it back up. It didn't take long to have something reasonably functional, and I thought others might like it as well.

Feedback welcome, Enjoy!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection