etc/i3status.conf.m4

59 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-11-18 12:00:19 +01:00
# vim:ft=conf:
2015-05-27 18:53:29 +02: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 09:21:47 +01:00
changequote([,])
2018-11-18 12:00:19 +01:00
define([hostname], esyscmd([echo -n `hostname`]))
define([defcolor], [define(base$1, ["[#]$2"])])
2015-11-22 09:21:47 +01:00
include([base16.m4])
2015-05-27 18:53:29 +02:00
general {
2015-11-22 09:21:47 +01:00
colors = true
2020-11-26 17:48:20 +01:00
interval = 5
2015-11-22 09:21:47 +01:00
color_good = base0B
color_bad = base08
2015-05-27 18:53:29 +02:00
}
order += "ipv6"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "tztime local"
2018-11-18 12:00:19 +01:00
ifelse(hostname, [petalius], [
2015-05-27 18:53:29 +02:00
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
2018-11-18 12:00:19 +01:00
battery 0 {
format = "%status %percentage %remaining"
last_full_capacity = true
}
])
2015-05-27 18:53:29 +02:00
ethernet _first_ {
format_up = "E: %ip"
format_down = "E: down"
}
tztime local {
2018-11-18 12:00:19 +01:00
locale = "ja_JP.UTF-8"
format = "%Y年%m月%d日 (%a) %H:%M:%S"
2015-05-27 18:53:29 +02:00
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}