Skip to content

An Emacs package for displaying the output of an i3status compatible command in the mode-line or tab-bar.

License

Notifications You must be signed in to change notification settings

Stebalien/i3bar.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

i3bar.el

An Emacs package for displaying the output of an i3status compatible command in the mode-line (or tab-bar).

To use:

  1. Install and configure an i3status compatible status-bar generator.
  2. Install any required fonts (likely ttf-font-awesome).
  3. 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))

Tab Bar

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))

Known Issues

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.

Unimplemented Features

This package implements just enough of the i3status protocol to be useful, but not everything.

  • Click Events
  • Pixel Spacing
  • Pango Markup

Fonts & Icons

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.

About

An Emacs package for displaying the output of an i3status compatible command in the mode-line or tab-bar.

Resources

License

Stars

Watchers

Forks