~xdavidwu/dotfiles

22b0ed2cd914b06d161f30192edb7b6325858724 — xdavidwu 3 years ago c5966a7
i3status: shorten length
1 files changed, 10 insertions(+), 24 deletions(-)

M .config/i3status/config
M .config/i3status/config => .config/i3status/config +10 -24
@@ 17,6 17,8 @@ general {
	# list_section_divider_material on grey 850
	color_separator = "#494949"
	interval = 5
	output_format = "i3bar"
	markup = "pango"
}

order += "disk /"


@@ 30,53 32,37 @@ order += "battery all"
order += "tztime local"

wireless _first_ {
        format_up = "W: (%quality at %essid, %bitrate) %ip"
        format_up = "W: %ip %essid %bitrate"
        format_down = "W: down"
	separator_block_width = 11
}

ethernet _first_ {
        # if you use %speed, i3status requires root privileges
        format_up = "E: %ip (%speed)"
        format_up = "E: %ip %speed"
        format_down = "E: down"
	separator_block_width = 11
}

battery all {
        format = "%status %percentage %remaining"
	separator_block_width = 11
}

tztime local {
        format = "%Y-%m-%d %H:%M:%S"
        #format = "%c"
	separator_block_width = 5
        format = "%d %a %H:%M:%S"
}

cpu_temperature 0{
        format = "T: %degrees °C"
cpu_temperature 0 {
        format = "T: %degrees°C"
        path = "/sys/class/hwmon/hwmon1/temp1_input"
	separator_block_width = 11
}

volume master {
        format = "S: %volume"
        format_muted = "S: muted (%volume)"
        format = 'S: %volume'
        format_muted = "S: muted %volume"
        device = "pulse"
	separator_block_width = 11
}

load {
        format = "%1min"
}

disk "/" {
        format = "%avail"
	separator_block_width = 11
}

cpu_usage {
	separator_block_width = 11
        format = "D: %avail"
}

read_file M {