Augment i3statusbar
- support battery indicator - format indentation
This commit is contained in:
parent
9ef4b5bb0a
commit
698cff169a
1 changed files with 25 additions and 11 deletions
|
@ -4,6 +4,8 @@ general {
|
||||||
colors = true
|
colors = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
order += "battery 0"
|
||||||
|
order += "tztime local"
|
||||||
order += "tztime lon"
|
order += "tztime lon"
|
||||||
order += "tztime est"
|
order += "tztime est"
|
||||||
order += "tztime pst"
|
order += "tztime pst"
|
||||||
|
@ -18,6 +20,10 @@ disk "/" {
|
||||||
# - cat /etc/timezone
|
# - cat /etc/timezone
|
||||||
# - man date
|
# - man date
|
||||||
# - timedatectl
|
# - timedatectl
|
||||||
|
tztime local {
|
||||||
|
format = "%d/%m/%Y"
|
||||||
|
}
|
||||||
|
|
||||||
tztime lon {
|
tztime lon {
|
||||||
format = "LON %H:%M"
|
format = "LON %H:%M"
|
||||||
timezone = "Europe/London"
|
timezone = "Europe/London"
|
||||||
|
@ -32,3 +38,11 @@ tztime pst {
|
||||||
format = "MTV %H:%M"
|
format = "MTV %H:%M"
|
||||||
timezone = "US/Pacific"
|
timezone = "US/Pacific"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
battery 0 {
|
||||||
|
format = "Battery %percentage"
|
||||||
|
format_down = "" # This hides the battery when there isn't any (e.g. on a Desktop)
|
||||||
|
low_threshold = 30
|
||||||
|
threshold_type = time
|
||||||
|
integer_battery_capacity = true
|
||||||
|
}
|
Loading…
Reference in a new issue