#status-bar #xorg #xsetroot

app rstatusbar

Configurable statusbar for Xorg server using xsetroot

7 unstable releases (3 breaking)

Uses new Rust 2024

0.4.1 Jul 14, 2025
0.4.0 May 28, 2025
0.3.0 Apr 1, 2025
0.2.1 Jan 13, 2025
0.1.1 Oct 25, 2024

#311 in Filesystem

Download history 1/week @ 2025-08-16 1/week @ 2025-08-23

423 downloads per month

MIT license

45KB
1.5K SLoC

rstatusbar

Configurable statusbar in Rust for Xorg server using xsetroot

Caveats

  • Dependencies: rust, xorg-xsetroot
  • This library has been developed on and for Linux following open source philosophy.

Installation

  • Using cargo:
cargo install rstatusbar
  • Using yay or paru (AUR Arch Linux):
paru -S rstatusbar

Setup

  • In your ~/.xinitrc to start in every login
rstatusbar 2> rstatusbar.log &

Overview

Component rstatusbar NOTE
CPU usage ✔️ Percentage
RAM usage ✔️ Percentage
TEMPERATURE ✔️ Celcious
DISK USAGE ✔️ Percentage
VOLUME LEVEL ✔️ Level and Mute status
BLUETOOTH
BATTERY LEVEL ✔️ Percentage
CUSTOM SCRIPT ✔️ Execute a custom script.sh
NETWORK STATUS ✔️ Up or down
WEATHER ✔️ Celcious, using wttr
DATE ✔️ Could be custimizable

Customizable

  • By default the statusbar contains: cpu usage, memory usage, temperature, disk usage, volume, network status and datetime
  • For a custom configuration put this file config.toml in your ~/.config/rstatusbar/config.toml and edit it to change values or delete a component.
  • Memory component example in config.toml:
[memory]
time = 1000  # Time in miliseconds defines how often the process runs
name = "RAM" # Name of the component. Could be empty => name = ""
icon = ""   # Icon of the component. Could be empty => icon = ""

Screenshots

rstatusbar

Donate

  • Bitcoin (QR) 1GqdJ63RDPE4eJKujHi166FAyigvHu5R7v
  • Paypal

Dependencies

~4–9.5MB
~204K SLoC