Commit Graph

8 Commits

Author SHA1 Message Date
phundrak 4b592a1f9e Preliminary banner written, rest should be written easily
Ensures there will always be space for OS, kernel, uptime and hostname
information. Padding works well.

Now, I need to work on the progress bars with the memory and the
partitions.

I might add later a bar for the battery.
2021-04-29 19:42:18 +02:00
phundrak f6caf18f19 Actually respect user’s choice of percentages 2021-04-29 14:19:24 +02:00
phundrak a7017ac0e1 Shorten paths only when needed 2021-04-29 14:19:05 +02:00
phundrak 1914b7d0c2 Fix issue with last element in path shortened 2021-04-29 14:18:34 +02:00
phundrak c40d13a0fd Add constant for path shortening 2021-04-29 14:17:51 +02:00
phundrak dab66a1c92 Add FIXME 2021-04-29 12:30:08 +02:00
phundrak 37656ed83c Better string formatting, add partition display
FIXME: All elements in a path are shortened even if not necessary
2021-04-29 12:28:07 +02:00
phundrak ed7319bd09 Initial commit, most code is already written 2021-04-29 12:08:52 +02:00