Home How to change battery percentage to integer on i3 status
Post
Cancel

How to change battery percentage to integer on i3 status

1 - First let’s make a backup of our original i3 status config

1
cp /etc/i3status.conf ~/.config/i3/i3status.conf

2 - Edit i3status.conf

I gonna use NVIM to edit the config, you can use whatever editor you want

1
sudo nvim /etc/i3status.conf

3 - Inside of config file

We gonna add this code

1
2
3
4
5
battery all {
    ...
    integer_battery_capacity = true
}

4 - Save the changes and restart i3

1
Super + Shift + r
This post is licensed under CC BY 4.0 by the author.