Simple status bar for i3 / i3-gaps / sway written in bash and python
This is a sample code to help you to build your personal i3 bar.
It comes with :
Please read Create your own i3/sway status bar with some bash and python.
In your ~/.config/i3/config
file, add the path to the script mybar.sh
:
bar {
status_command exec /home/you/.config/i3status/mybar.sh
}
Replace /home/you
in this project with your home path.
Copy the files from this i3status
repository directory to ~/.config/i3status
.
⚠️ Please, read and modify each script !
/home/you/
with your home path in the mybar.sh
file.Restart i3 : MOD4+SHIFT+R
.
You may also need to install, i.e. for Arch Linux :
yay -S pamixer # for volume information
yay -S pacman-contrib # for checkupdates, to count available packages
yay -S ttf-font-awesome # for icons
yay -S alsa-utils # for alsamixer (sound volume)
pip3 install psutil --user # for cpu, memory, disk usage