An Emacs package for displaying the output of an i3status
compatible command in the mode-line
(or tab-bar
).
To use:
- Install and configure an i3status compatible status-bar generator.
- Install any required fonts (likely
ttf-font-awesome
). - Install and configure this package.
(use-package i3bar
:quelpa (i3bar :fetcher github :repo "Stebalien/i3bar.el")
;; Or with straight:
;:straight (i3bar :type git :host github :repo "Stebalien/i3bar.el")
:config
(i3bar-mode 1))
You can place the i3bar in the tab-bar as follows:
(use-package tab-bar
:custom
(tab-bar-format '(tab-bar-format-tabs ; Optional: Remove to _only_ display the bar.
tab-bar-format-align-right ; Optional: Remove to align left.
tab-bar-format-global))
:config
(tab-bar-mode 1))
This package is missing featuers and features and has some rough edges. I'm happy to accept patches for any of these issues, assuming the patches don't introduce other issues.
This package implements just enough of the i3status protocol to be useful, but not everything.
- Click Events
- Pixel Spacing
- Pango Markup
This package makes no attempt to correctly configure fonts. Ideally it would create a special font-set that would "do the right thing", but my understanding of such black arts are still quite limited.