- Added i3status config

This commit is contained in:
Damien Broqua 2017-06-20 17:26:09 +02:00
parent 7deeaf6c39
commit 8aac046c1f

87
i3status/config Normal file
View File

@ -0,0 +1,87 @@
# 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 {
colors = true
interval = 5
}
order += "disk /"
order += "disk /home"
order += "run_watch DHCP"
order += "path_exists VPN"
order += "wireless wlan0"
order += "ethernet eth0"
#order += "cpu_temperature 0"
#order += "cpu_temperature 1"
order += "load"
order += "cpu_usage"
order += "volume master"
order += "tztime local"
wireless wlan0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
ethernet eth0 {
# if you use %speed, i3status requires the cap_net_admin capability
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
path_exists VPN {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
path = "/proc/sys/net/ipv4/conf/tun0"
}
battery all {
format = "%status %percentage %remaining"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min"
}
disk "/" {
format = "Root: %percentage_free"
}
disk "/home" {
format = "Home: %percentage_free"
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
}
cpu_usage {
format = "CPU: %usage"
}
cpu_temperature 0 {
format = "Core 0: %degrees °C"
path = "/sys/bus/acpi/devices/LNXTHERM:00/thermal_zone/temp"
}
cpu_temperature 1 {
format = "Core 1: %degrees °C"
path = "/sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp"
}