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 # This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango). # 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: # Before i3 v4.8, we used to recommend this one as the default:

View file

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