mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-18 07:34:45 +00:00
Update
This commit is contained in:
parent
3cac623c9e
commit
7abb5b6656
1 changed files with 51 additions and 44 deletions
|
|
@ -8,67 +8,74 @@
|
||||||
|
|
||||||
general {
|
general {
|
||||||
colors = true
|
colors = true
|
||||||
interval = 1
|
#color_good = "#b8bb26"
|
||||||
|
#color_bad = "#fb4934"
|
||||||
|
#color_degraded = "#fabd2f"
|
||||||
|
separator = ""
|
||||||
|
output_format = "i3bar"
|
||||||
|
interval = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
# order += "ipv6"
|
|
||||||
# order += "disk /"
|
|
||||||
order += "wireless _first_"
|
|
||||||
|
|
||||||
order += "ethernet _first_"
|
|
||||||
order += "path_exists bond"
|
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
|
order += "disk /"
|
||||||
|
order += "disk /home"
|
||||||
|
#order += "disk /mnt/data"
|
||||||
order += "load"
|
order += "load"
|
||||||
|
order += "memory"
|
||||||
order += "cpu_temperature 0"
|
order += "cpu_temperature 0"
|
||||||
|
order += "battery all"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
# order += "battery all"
|
order += "volume master"
|
||||||
|
|
||||||
wireless _first_ {
|
volume master {
|
||||||
format_up = "W: (%quality at %essid)"
|
format = "🔊 %volume"
|
||||||
format_down = "W: Down"
|
format_muted = "🔇 %volume"
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet _first_ {
|
disk "/" {
|
||||||
# if you use %speed, i3status requires root privileges
|
format = "🌱 %avail"
|
||||||
format_up = "E: (%speed)"
|
low_threshold = 25
|
||||||
format_down = "E: Down"
|
threshold_type = percentage_avail
|
||||||
}
|
}
|
||||||
|
|
||||||
path_exists bond {
|
disk "/home" {
|
||||||
format = "Bonding: Up"
|
format = "🏡 %avail"
|
||||||
format_down = "Bonding: Down"
|
low_threshold = 25
|
||||||
path = "/proc/net/bonding/bond1"
|
threshold_type = percentage_avail
|
||||||
}
|
|
||||||
|
|
||||||
# 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 VPN {
|
||||||
# path exists when a VPN tunnel is active
|
# path exists when a VPN tunnel is active
|
||||||
format = "VPN: active"
|
format = "🖧 OK"
|
||||||
format_down= "VPN inactive"
|
format_down = "🖧 X"
|
||||||
path = "/proc/sys/net/ipv4/conf/tun0"
|
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||||
}
|
}
|
||||||
# disk "/" {
|
|
||||||
# format = "%avail"
|
battery all {
|
||||||
# }
|
format = "%status %percentage"
|
||||||
|
integer_battery_capacity = true
|
||||||
|
status_chr = "⚡"
|
||||||
|
status_bat = "🔋"
|
||||||
|
status_full = "☻"
|
||||||
|
last_full_capacity = true
|
||||||
|
}
|
||||||
|
|
||||||
|
load {
|
||||||
|
format = "👣 %1min %5min %15min"
|
||||||
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
format = "⚖️ %used | %available"
|
||||||
|
threshold_degraded = "1G"
|
||||||
|
format_degraded = "⛔ < %available"
|
||||||
|
}
|
||||||
|
|
||||||
cpu_temperature 0 {
|
cpu_temperature 0 {
|
||||||
format = "CPU Temp: %degrees °C"
|
format = "🌡️ %degrees °C"
|
||||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
|
format_above_threshold = "🔥 %degrees °C"
|
||||||
max_threshold = "70"
|
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon[1-3]/temp1_input"
|
||||||
format_above_threshold = "CPU Temp: %degrees °C"
|
}
|
||||||
|
|
||||||
|
tztime local {
|
||||||
|
format = "🌎 %a %d %H:%M"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue