Better i3status

This commit is contained in:
Gabriel Ebner 2018-11-18 12:00:19 +01:00
parent e1403a9dad
commit afd88875bb

@ -1,3 +1,4 @@
# vim:ft=conf:
# i3status configuration file.
# see "man i3status" for documentation.
@ -7,12 +8,13 @@
# If the above line is not correctly displayed, fix your editor first!
changequote([,])
define([hostname], esyscmd([echo -n `hostname`]))
define([defcolor], [define(base$1, ["[#]$2"])])
include([base16.m4])
general {
colors = true
interval = 5
interval = 1
color_good = base0B
color_bad = base08
}
@ -25,22 +27,26 @@ order += "battery 0"
order += "load"
order += "tztime local"
ifelse(hostname, [petalius], [
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
battery 0 {
format = "%status %percentage %remaining"
last_full_capacity = true
}
])
ethernet _first_ {
format_up = "E: %ip"
format_down = "E: down"
}
battery 0 {
format = "%status %percentage %remaining"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
locale = "ja_JP.UTF-8"
format = "%Y年%m月%d日 (%a) %H:%M:%S"
}
load {