Skip to content

Instantly share code, notes, and snippets.

@HeyBanditoz
Created August 5, 2019 19:14
Show Gist options
  • Save HeyBanditoz/9532c66afdb6411b73f074e468751573 to your computer and use it in GitHub Desktop.
Save HeyBanditoz/9532c66afdb6411b73f074e468751573 to your computer and use it in GitHub Desktop.
# 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 = 3
}
order += "disk /"
order += "disk /mnt/offsite"
order += "cpu_temperature 0"
order += "path_exists VPN"
order += "ethernet _first_"
order += "volume master"
order += "load"
order += "memory"
order += "cpu_usage"
order += "tztime local"
#wireless _first_ {
# format_up = "W: (%quality at %essid) %ip"
# format_down = "W: down"
#}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
#battery all {
# format = "%status %percentage %remaining"
#}
tztime local {
format = "%Y-%m-%d %H:%M"
}
load {
format = "%1min %5min %15min"
# max_threshold = "0, 1"
# format_above_threshold = "W%1min %5min %15min"
}
path_exists VPN {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
path = "/proc/sys/net/ipv4/conf/tun0"
}
memory {
format = "%used / %total"
threshold_degraded = "10%"
format_degraded = "%used / %total (%free)"
}
cpu_temperature 0 {
format = "%degrees°C"
path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon0/temp1_input"
max_threshold = 80
format_above_threshold = "%degrees°C!!!"
}
cpu_usage {
format = "%usage"
max_threshold = 85
format_above_threshold = "%usage!!!"
}
disk "/" {
format = "%avail"
}
disk "/mnt/offsite" {
format = "%avail"
}
volume master {
format = "%volume"
format_muted = "M%volume"
device = "pulse"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment