javiorfo/ztatusbar
Configurable statusbar for Xorg server using xsetroot
Configurable statusbar developed in Zig for Xorg server using xsetroot
xorg-xsetroot
, curl
, alsa
git clone https://github.com/javiorfo/ztatusbar
cd ztatusbar
sudo make clean install
NOTE: variable OPTIMIZE could be pass as parameter to activate different Zig build modes (default is ReleaseFast).
yay -S ztatusbar
ztatusbar 2> ztatusbar.log &
Component | rstatusbar | NOTE |
---|---|---|
CPU usage | :heavy_check_mark: | Percentage |
RAM usage | :heavy_check_mark: | Percentage |
TEMPERATURE | :heavy_check_mark: | Celcious |
DISK USAGE | :heavy_check_mark: | Percentage |
VOLUME LEVEL | :heavy_check_mark: | Level and Mute status |
BLUETOOTH | :x: | |
BATTERY LEVEL | :heavy_check_mark: | Percentage |
CUSTOM SCRIPT | :heavy_check_mark: | Execute a custom script.sh |
NETWORK STATUS | :heavy_check_mark: | Up or down |
WEATHER | :heavy_check_mark: | Celcious, using wttr |
DATE | :heavy_check_mark: | Could be custimizable |
~/.config/ztatusbar/config.toml
and edit it to change values or delete a component.[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 = ""
[disk]
time = 2000
name = "DISK"
icon = " "
unit = "/"
[volume]
time = 100
name = "VOL"
icon = " "
icon_muted = " "
[temperature]
time = 1000
name = "TEMP"
icon = " "
zone = 1 # thermal zone which has the temperature in /sys/class/thermal_zone{variable here}/temp. If not set it uses thermal_zone0/temp
...