Home How to add a clock with a different timezone on i3 status
Post
Cancel

How to add a clock with a different timezone 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 a code like this, for this tutorial I’m gonna use Lisbon timezone

1
2
3
4
5
6
7
order += "tztime lisbon"

tztime lisbon {
        format = "%H:%M 🇵🇹"
        timezone = "Europe/Lisbon"
        hide_if_equals_localtime = true
}

4 - Save the changes and restart i3

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