Skip to content

fix: correctly scale module separator, code quality improvements

Module separator now correctly scales the text field.

I tried to clean up the code but there are still parts that are just too messed up so I haven't touched them.

The debug messages are completely silenced now when running without -d.

Example:

  • from:
        .~.    grial@grialion
        /V\    -------------------
       // \\   SHELL:     /bin/zsh
      /(   )\  OS:Arch Linux x86_64
       ^`~'^   KERNEL:6.9.5-arch1-1
  • to
        .~.    grial@grialion
        /V\    ---------------------
       // \\   SHELL:       /bin/zsh
      /(   )\  OS: Arch Linux x86_64
       ^`~'^   KERNEL: 6.9.5-arch1-1
  • or can be changed to anything, really
        .~.    grial@grialion
        /V\    -----------------------
       // \\   SHELL --       /bin/zsh
      /(   )\  OS -- Arch Linux x86_64
       ^`~'^   KERNEL -- 6.9.5-arch1-1

Merge request reports

Loading