Skip to content

Instantly share code, notes, and snippets.

@rafi
Last active February 1, 2023 12:33
Show Gist options
  • Save rafi/6063132 to your computer and use it in GitHub Desktop.
Save rafi/6063132 to your computer and use it in GitHub Desktop.
Rafi's i3status configuration file
# github.com/rafi i3status config
# 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
color_good = "#BBBBBB"
color_bad = "#CC1616"
color_degraded = "#55858E"
interval = 2
}
order += "volume master"
order += "load"
order += "cpu_usage"
order += "cpu_temperature 0"
order += "cpu_temperature 1"
order += "cpu_temperature 2"
order += "cpu_temperature 3"
order += "disk /"
order += "disk /media/media"
order += "ethernet eth0"
order += "tztime local"
#order += "ipv6"
#order += "run_watch DHCP"
#order += "run_watch VPN"
#order += "wireless wlan0"
volume master {
# format = " ♪: %volume "
device = "default"
mixer = "Master"
mixer_idx = 0
# termsyn font
format = "À %volume "
}
load {
# format = " Δ: %1min "
# termsyn font
format = " Î %1min"
}
cpu_usage {
format = "%usage "
}
cpu_temperature 0 {
format = " ± %degrees°"
path = "/sys/devices/platform/coretemp.0/temp2_input"
max_threshold = 95
}
cpu_temperature 1 {
format = "%degrees°"
path = "/sys/devices/platform/coretemp.0/temp3_input"
max_threshold = 95
}
cpu_temperature 2 {
format = "%degrees°"
path = "/sys/devices/platform/coretemp.0/temp4_input"
max_threshold = 95
}
cpu_temperature 3 {
format = "%degrees° "
path = "/sys/devices/platform/coretemp.0/temp5_input"
max_threshold = 95
}
disk "/" {
format = " ¨ %avail:/ "
}
disk "/media/media" {
format = " ¨ %avail:m "
}
wireless wlan0 {
format_up = " W: (%quality at %essid) %ip "
format_down = " ☡ WiFi "
}
ethernet eth0 {
# if you use %speed, i3status requires root privileges
# format_up = " Ω: %ip "
# format_down = " ∅ eth0 "
# termsyn font
format_up = " ­ %ip "
format_down = " Ð eth0 "
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
tztime local {
# format = " %h-%d %H:%M ☰ "
# termsyn font
format = " %h-%d É %H:%M ¸ ÈÈÈ È "
}
@saki92
Copy link

saki92 commented Mar 9, 2021

Hi. To me the format displayed doesn't make much sense. For example, in my editor I see À in volume and ÈÈÈ È after time. And I see the same on the i3status. Is this how its supposed to be?
I pasted the output of i3status below.
À 66% | Î 0,88 | -4% | ± 54° | 58° | ¨ 307,0 GiB:/ | | Ð eth0 | mars-09 É 18:34 ¸ ÈÈÈ È | DHCP: yes | VPN: no | ☡ WiFi

@fuzunspm
Copy link

fuzunspm commented Apr 6, 2021

Hi. To me the format displayed doesn't make much sense. For example, in my editor I see À in volume and ÈÈÈ È after time. And I see the same on the i3status. Is this how its supposed to be?
I pasted the output of i3status below.
À 66% | Î 0,88 | -4% | ± 54° | 58° | ¨ 307,0 GiB:/ | | Ð eth0 | mars-09 É 18:34 ¸ ÈÈÈ È | DHCP: yes | VPN: no | ☡ WiFi

did you find a solution?

@saki92
Copy link

saki92 commented Apr 6, 2021

No. I am using plain text now. Check it our here https://github.com/saki92/i3status/blob/main/config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment