Async xsetroot status bar updater made in Go
  • Go 93.3%
  • Shell 6.7%
Find a file
mkowalski 116511ffd3 Implemented async handling for Daemon, allowing for updating only one value at the time, and keeping all the widgets customizable
Note: currently contains default values only
Moved color functions to lib/golorize - possibly making room for a new separate package
2026-05-28 22:40:37 +02:00
datetime Renamed user -> username 2026-05-24 15:09:40 +02:00
lib/golorize Implemented async handling for Daemon, allowing for updating only one value at the time, and keeping all the widgets customizable 2026-05-28 22:40:37 +02:00
network Renamed user -> username 2026-05-24 15:09:40 +02:00
username Renamed user -> username 2026-05-24 15:09:40 +02:00
volume Renamed user -> username 2026-05-24 15:09:40 +02:00
weather Created a draft for an interactive main.go 2026-05-27 15:43:20 +02:00
.gitignore Created a README and a LICENSE 2026-05-28 03:00:05 +02:00
go.mod Created a draft for an interactive main.go 2026-05-27 15:43:20 +02:00
go.sum Created a draft for an interactive main.go 2026-05-27 15:43:20 +02:00
LICENSE.md Created a README and a LICENSE 2026-05-28 03:00:05 +02:00
main.go Implemented async handling for Daemon, allowing for updating only one value at the time, and keeping all the widgets customizable 2026-05-28 22:40:37 +02:00
PKGBUILD Created a README and a LICENSE 2026-05-28 03:00:05 +02:00
README.md Created a README and a LICENSE 2026-05-28 03:00:05 +02:00

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