https://github.com/l3pp4rd/statusbar
Statusbar for linux window manager written with golang
https://github.com/l3pp4rd/statusbar
dzen2 golang linux statusbar
Last synced: about 1 year ago
JSON representation
Statusbar for linux window manager written with golang
- Host: GitHub
- URL: https://github.com/l3pp4rd/statusbar
- Owner: l3pp4rd
- License: other
- Created: 2015-11-29T18:45:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T10:34:30.000Z (over 2 years ago)
- Last Synced: 2025-03-21T13:13:27.239Z (over 1 year ago)
- Topics: dzen2, golang, linux, statusbar
- Language: Go
- Size: 52.7 KB
- Stars: 30
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-ricing - statusbar - Statusbar for linux window manager. (go) (Packages / Bars, Panels, and Widgets)
README
# Statusbar
This is a statusbar for a **linux** window managers written in **golang**.
Currently it provides these details:
## Screenshot

- shows active keyboard layout, using **setxkbmap**.
- **gmail** account unread email counts in configured order.
- **network** connection details, **wifi** or **ethernet**, upload and
download speeds.
- **cpu** temperature.
- **power** details, **AC** if on power cable, or remaining **battery**
percentage.
- **cpu** load.
- **memory** utilization percent.
- **date** local date and time, plus one in different timezone in my case.
## Requirements
- **go** in order to compile statusbar.
- **dzen2** is the package used to render the status bar on your X11 screen
## Installation
You must have **go** installed on your system.
This repository is meant to be editable to your own needs, so fork or
clone and edit. Create your statusbar configuration:
cp statusbar.dist.json statusbar.json
**NOTE:** the arguments for **dzen2** output formatting should be changed
on your needs including **gmail** accounts if available.
If you run `make` it will build and move binary to
**/usr/local/bin/statusbar** and statusbar.json if available, to
**/usr/local/etc/statusbar.json**.
make
If dependencies were not met, install them. Now you can run statusbar
which takes configuration option json as an argument:
statusbar statusbar.json > /tmp/statusbar.log 2>&1
**NOTE:** you may change configuration properties based on your screen
layout and fonts. Statusbar logs errors to **stdout** and in case of panic
to **stderr**.