Skip to content

Instantly share code, notes, and snippets.

@tpb1908
Created November 24, 2017 00:40
Show Gist options
  • Save tpb1908/8ce62564fc51a4f93710431f7005df8b to your computer and use it in GitHub Desktop.
Save tpb1908/8ce62564fc51a4f93710431f7005df8b 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 = 5
}
order += "volume master"
order += "disk /"
order += "wireless _first_"
order += "load"
order += "cpu_temperature 0"
order += "battery 0"
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 0 {
format = "%status %percentage %remaining"
format_down = "No battery"
path = "/sys/class/power_supply/BAT%d/uevent"
}
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}
volume master {
# format = " V: %volume "
device = "default"
mixer = "Master"
mixer_idx = 0
# termsyn font
format = "Volume %volume "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment