#status-bar #xorg #xsetroot

app rstatusbar

Configurable statusbar for Xorg server using xsetroot

4 releases

0.2.1 Jan 13, 2025
0.2.0 Dec 28, 2024
0.1.1 Oct 25, 2024
0.1.0 Oct 8, 2024

#228 in Filesystem

Download history 5/week @ 2024-10-15 109/week @ 2024-10-22 9/week @ 2024-10-29 1/week @ 2024-11-19 3/week @ 2024-12-10 131/week @ 2024-12-24 5/week @ 2024-12-31 60/week @ 2025-01-07 53/week @ 2025-01-14 3/week @ 2025-01-21

117 downloads per month

MIT license

44KB
1K SLoC

rstatusbar

Configurable statusbar in Rust for Xorg server using xsetroot

⚠️ Attention

This project is no longer maintained in favor of ztatusbar

  • rstatusbar: CPU (average) 2.75% - Mem (average) 0.23%
  • ztatusbar: CPU (average) 2.02% - Mem (average) 0.08%

Caveats

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

Installation

  • Downloading and compiling manually:
git clone https://github.com/javiorfo/rstatusbar
cd rstatusbar
sudo make clean install
  • Using cargo:
cargo install rstatusbar
  • Using yay or paru (AUR Arch Linux):
yay -S rstatusbar

Setup

  • In your ~/.xinitrc to start in every login
rstatusbar & 2> rstatusbar_error.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

~8–40MB
~623K SLoC