Update i3status

This commit is contained in:
Julian Ospald 2018-08-13 21:21:41 +08:00
parent a5f640c648
commit ab749bed04
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -6,15 +6,17 @@ general {
#order += "ipv6"
order += "disk /"
#order += "run_watch DHCP"
order += "run_watch VPN"
#order += "wireless wlan0"
order += "ethernet eth1"
#order += "battery 0"
order += "cpu_temperature 0"
#order += "run_watch DHCP"#
#order += "run_watch VPN"
order += "wireless wlp3s0"
#order += "ethernet enp0s31f6"
order += "battery 0"
order += "battery 1"
#order += "cpu_temperature 0"
order += "cpu_usage"
#order += "load"
#order += "tztime local"
order += "load"
order += "memory"
order += "tztime local"
#order += "tztime berlin"
ipv6 {
@ -22,12 +24,12 @@ ipv6 {
format_down = "no IPv6"
}
wireless wlan0 {
wireless wlp3s0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
ethernet eth0 {
ethernet enp0s31f6 {
# if you use %speed, i3status requires the cap_net_admin capability
format_up = "E: %ip (%speed)"
format_down = "E: down"
@ -39,6 +41,12 @@ battery 0 {
low_threshold = 10
}
battery 1 {
format = "%status %percentage %remaining %emptytime"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
@ -60,10 +68,10 @@ load {
format = "%5min"
}
/* cpu_temperature 0 { */
/* format = "%degrees°" */
/* path = "/sys/devices/platform/coretemp.0/temp1_input" */
/* } */
cpu_temperature 0 {
format = "%degrees°"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
disk "/" {
format = "%free"
@ -72,3 +80,10 @@ disk "/" {
cpu_usage {
format = "%usage"
}
memory {
format = "%used"
threshold_degraded = "10%"
format_degraded = "MEMORY: %free"
}