sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (509B)


      1 fmt-human-no-space
      2 ==================
      3 
      4 Description
      5 ===========
      6 
      7 Remove the space between the numeric value and the unit in
      8 `fmt_human()` output.
      9 
     10 The default formatting follows SI/NIST conventions. This patch is
     11 intended for status bars where horizontal space is limited.
     12 
     13 Before:
     14 
     15     1.2 GiB
     16     42 °C
     17 
     18 After:
     19 
     20     1.2GiB
     21     42°C
     22 
     23 Download
     24 ========
     25 
     26 * [slstatus-fmt-human-no-space-20260514-3739d9f.diff](slstatus-fmt-human-no-space-20260514-3739d9f.diff)
     27 
     28 Authors
     29 =======
     30 
     31 * r1w1s1 <r1w1s1@fastmail.com>