templier-ansible/roles/i3/templates/i3status.j2
Yohann D'ANELLO b0d8cdaf72
Add a lot of ansible headers
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-17 23:38:26 +01:00

64 lines
1.1 KiB
Django/Jinja

{{ ansible_header | comment }}
# 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!
general {
output_format="i3bar"
colors = true
interval = 1
}
# order += "ipv6"
order += "read_file mpd"
order += "volume master"
order+= "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "tztime local"
ipv6 {
format_up = "IPV6: %ip"
format_down = ""
}
wireless _first_ {
format_up = "W:%essid, %ip"
format_down = ""
}
ethernet _first_ {
format_up = "E: %ip, %speed"
format_down = ""
}
battery all {
format = "%status %percentage %remaining"
last_full_capacity = true
color_good="#00FFFF"
color_bad="#00FFFF"
}
tztime local {
format = "%d-%m %H:%M:%S"
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "pulse"
}
read_file mpd {
path = "/tmp/mpd.current"
color_good = "#00FF99"
format_bad = ""
}