etc/i3status.conf.m4

59 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-11-18 11:00:19 +00:00
# vim:ft=conf:
2015-05-27 16:53:29 +00:00
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
2015-11-22 08:21:47 +00:00
changequote([,])
2018-11-18 11:00:19 +00:00
define([hostname], esyscmd([echo -n `hostname`]))
define([defcolor], [define(base$1, ["[#]$2"])])
2015-11-22 08:21:47 +00:00
include([base16.m4])
2015-05-27 16:53:29 +00:00
general {
2015-11-22 08:21:47 +00:00
colors = true
2018-11-18 11:00:19 +00:00
interval = 1
2015-11-22 08:21:47 +00:00
color_good = base0B
color_bad = base08
2015-05-27 16:53:29 +00:00
}
order += "ipv6"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "tztime local"
2018-11-18 11:00:19 +00:00
ifelse(hostname, [petalius], [
2015-05-27 16:53:29 +00:00
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
2018-11-18 11:00:19 +00:00
battery 0 {
format = "%status %percentage %remaining"
last_full_capacity = true
}
])
2015-05-27 16:53:29 +00:00
ethernet _first_ {
format_up = "E: %ip"
format_down = "E: down"
}
tztime local {
2018-11-18 11:00:19 +00:00
locale = "ja_JP.UTF-8"
format = "%Y年%m月%d日 (%a) %H:%M:%S"
2015-05-27 16:53:29 +00:00
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}