customize status bar

This commit is contained in:
Bruno Carlin 2018-06-20 11:56:20 +02:00
parent 5c08f1d900
commit 4ec863cd91
2 changed files with 19 additions and 13 deletions

View file

@ -15,7 +15,7 @@
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
font pango:Source Code Pro, IconicIcons 8
font pango:Source Code Pro, Font Awesome 5 Free 8
# Before i3 v4.8, we used to recommend this one as the default:

View file

@ -9,6 +9,8 @@
general {
colors = true
interval = 5
separator = " | "
}
order += "ipv6"
@ -23,44 +25,48 @@ order += "cpu_usage"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
format_up = " (%quality at %essid) %ip"
format_down = " down"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
format_up = " %ip (%speed)"
format_down = " down"
}
battery all {
format = " %status %percentage %remaining"
status_full = " "
status_bat = " "
status_chr = " "
status_unk = " "
}
volume master {
format = "♪ %volume"
format_muted = " muted (%volume)"
format = " %volume"
format_muted = " muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min %5min"
format = "%1min %5min"
}
cpu_usage {
format = "%usage"
format = "%usage"
}
disk "/" {
format = "%avail (%percentage_avail)"
format = "%avail (%percentage_avail)"
}
disk "/home" {
format = "%avail (%percentage_avail)"
format = "  %avail (%percentage_avail)"
}