From 22b0ed2cd914b06d161f30192edb7b6325858724 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 26 Sep 2021 11:23:13 +0800 Subject: [PATCH] i3status: shorten length --- .config/i3status/config | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/.config/i3status/config b/.config/i3status/config index 762bb07..548f014 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -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 { -- 2.45.2