-
-
Save rafi/6063132 to your computer and use it in GitHub Desktop.
# 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 ¸ ÈÈÈ È " | |
} |
this is so fucking good!!!
Note: I've had to change /sys/devices/platform/coretemp.0/temp2_input
→ /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
. Otherwise I was getting errors like:
i3status: Cannot read temperature. Verify that you have a thermal zone in /sys/class/thermal or disable the cpu_temperature module in your i3status config.
FTR (just in case the path get lost again):I found the path with find /sys/devices/platform/coretemp.*/ | grep input
.
In Ubuntu 14.04 I had to change /sys/devices/platform/coretemp.0/temp2_input
to /sys/class/thermal/thermal_zone0/temp
or to /sys/class/hwmon/hwmon0/temp_input0
Thanks my friends !!!
How can I display the unicode symbols in my i3 status? They show up just fine in my editor, but when loading in i3 status the wrong symbol is displayed
Thanks guys, worked perfect here.
I love it <3 thanks!
How can I display the unicode symbols in my i3 status? They show up just fine in my editor, but when loading in i3 status the wrong symbol is displayed
Not sure but probably u need to use utf-8
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
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?
No. I am using plain text now. Check it our here https://github.com/saki92/i3status/blob/main/config
I am using this now, it works brilliantly thanks!