Groups
Groups
Sign in
Groups
Groups
window manager Improved 2 (wmii)
Conversations
About
Send feedback
Help
[dev] [slstatus] remove space from fmt_human()
0 views
Skip to first unread message
Ricardson
unread,
May 14, 2026, 9:34:34 PM
May 14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to d...@suckless.org
Hi,
This patch removes the space between the numeric value and
the unit in fmt_human() output.
This makes compact displays such as status bars easier to read.
Example:
Before:
1.9 Gi
After:
1.9Gi
----
Kind regards,
Ricardson (r1w1s1)
0001-slstatus-remove-space-from-fmt_human.patch
drkhsh
unread,
Jun 7, 2026, 5:16:33 PM (7 days ago)
Jun 7
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev mail list
hi r1w1s1,
it has been implemented in this way because of the following SI
convention:
https://www.nist.gov/pml/special-publication-330/sp-330-section-5
(section 5.4.3 Formatting the value of a quantity)
same should be in ISO 80000-1 and NIST SP 811 / SP 330 (the US
interpretation of SI)
however you are free to upload a patch for that specific small-screen
usecase to the wiki!
regards
drkhsh
Reply all
Reply to author
Forward
0 new messages