A simple and lightweight system status monitoring tool.
Installation:
git clone https://github.com/badreddinkaztaoui/fq_bar
cd fq_bar
cc -Wall -Wextra -Werror -o fq_bar fq_bar.c -lX11 -lXrandr
mv fq_bar /usr/local/bin/
Update your .xinitrc file to run the code when dwn runs
// add this line to your .xinitrc file
fq_bar &
Example output:
RAM: 2.3/4.0 GB | CPU: 25.6% | 12:34 (01-01-2024) | hostname release
Configuration: Time Format: Modify the TIME_FORMAT macro in ft_bar.c to customize the time display format. Update Interval: Adjust the sleep(1) line in ft_bar.c to change the update frequency.
Customization: Metrics: Add new metrics by creating functions and including them in the snprintf statement in the main function. Formatting: Modify the output formatting by adjusting the snprintf statement and the string formatting within the functions.