Async xsetroot status bar updater made in Go
- Go 93.3%
- Shell 6.7%
Note: currently contains default values only Moved color functions to lib/golorize - possibly making room for a new separate package |
||
|---|---|---|
| datetime | ||
| lib/golorize | ||
| network | ||
| username | ||
| volume | ||
| weather | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| LICENSE.md | ||
| main.go | ||
| PKGBUILD | ||
| README.md | ||
gostatbar
Async xsetroot status bar updater made in Go
Installation
Arch Linux
Clone the git repository and run makepkg -si, the pkgbuild will take care of the rest
git clone https://git.fibermouse.xyz/mkowalski/gostatbar.git
cd gostatbar
makepkg -si
gostatbar --help
Build it yourself
Make sure you have Go installed
go --version
Then, clone the repo, and cd
git clone https://git.fibermouse.xyz/mkowalski/gostatbar.git
cd gostatbar
Compile the application and optionally copy it to /usr/local/bin/
go build -o gostatbar main.go
cp gostatbar /usr/local/bin/
All done (as long as /usr/local/bin/ is in your $PATH that is)
gostatbar --help
Usage
gostatbar [options: string] <command: string>
Available commands:
Non-interactive:
- daemon
Interactive:
- weather <latitude: float64> <longitude: float64>
- datetime
- network
- username
- volume
Options:
- --help, -h - Prints the help message and exits
- --xsetroot, -x - Updates bar with 'xsetroot -name %s' (Default)
- --stdout, -o - Prints updates to stdout instead