mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-18 07:34:45 +00:00
73 lines
1.7 KiB
Text
73 lines
1.7 KiB
Text
# 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 = 1
|
|
}
|
|
|
|
# order += "ipv6"
|
|
# order += "disk /"
|
|
order += "wireless wlan0"
|
|
order += "ethernet enp2s0"
|
|
order += "path_exists bond"
|
|
order += "path_exists VPN"
|
|
order += "load"
|
|
order += "cpu_temperature 0"
|
|
order += "tztime local"
|
|
# order += "battery all"
|
|
|
|
wireless wlan0 {
|
|
format_up = "W: (%quality at %essid, %frequency)"
|
|
format_down = "W: down"
|
|
}
|
|
|
|
ethernet enp2s0 {
|
|
# if you use %speed, i3status requires root privileges
|
|
format_up = "E: Up (%speed)"
|
|
format_down = "E: down"
|
|
}
|
|
|
|
path_exists bond {
|
|
format = "Bonding: active"
|
|
format_down = "Bonding: down"
|
|
path = "/proc/net/bonding/bond1"
|
|
}
|
|
|
|
# battery all {
|
|
# format = "%status %percentage"
|
|
# status_chr = "⚡ CHR"
|
|
# status_bat = "🔋 BAT"
|
|
# status_full = "☻ FULL"
|
|
# last_full_capacity = true
|
|
# }
|
|
|
|
tztime local {
|
|
format = "%Y-%m-%d %H:%M"
|
|
}
|
|
|
|
load {
|
|
format = "CPU load: %1min"
|
|
}
|
|
|
|
path_exists VPN {
|
|
# path exists when a VPN tunnel is active
|
|
format = "VPN: active"
|
|
format_down= "VPN inactive"
|
|
path = "/proc/sys/net/ipv4/conf/tun0"
|
|
}
|
|
# disk "/" {
|
|
# format = "%avail"
|
|
# }
|
|
|
|
cpu_temperature 0 {
|
|
format = "CPU Temp: %degrees °C"
|
|
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
|
|
max_threshold = "70"
|
|
format_above_threshold = "CPU Temp: %degrees °C"
|
|
}
|