summaryrefslogtreecommitdiff
path: root/src/xi.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-19 00:02:08 +0000
committerdavidovski <david@davidovski.xyz>2022-01-19 00:02:08 +0000
commitbe11529ff79011f370ce2969dfa145dac81fbee3 (patch)
treec6680b9e49bb3efa550354517c9758069d3d5bb4 /src/xi.py
parent4d61440c07613661a569a76ba54d0c7d27de1efe (diff)
added horizontal wavey bars
Diffstat (limited to 'src/xi.py')
-rw-r--r--src/xi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xi.py b/src/xi.py
index 27d43c3..f0c473c 100644
--- a/src/xi.py
+++ b/src/xi.py
@@ -44,6 +44,7 @@ def print_stats(conf, opts):
distro = util.get_distro()["NAME"]
+ print(colors.LIGHT_CYAN + ("~"*w) + colors.RESET)
print(colors.LIGHT_CYAN + "xipkg", end="")
print(colors.CYAN + " on ", end="")
print(colors.LIGHT_CYAN + distro)
@@ -53,7 +54,9 @@ def print_stats(conf, opts):
for repo,count in pkg_count.items():
print(f"\t{colors.BLUE}{repo}: {colors.LIGHT_BLUE}{count}")
- print(colors.RESET)
+
+ w, h = util.get_area()
+ print(colors.LIGHT_CYAN + ("~"*w) + colors.RESET)
def main():