🚩 Looks Configuration
File: config.toml
Border Style
The borderstyle variable determines the type of border the stats section will be enclosed in.
Currently, Catnap supports 5 border styles:
line(The default border style.)dasheddottednoborderdoubleline
Layout
Using the layout variable you can define how the logo and stats will be arranged.
- Use
Inlineto place the logo and stats next to each other. - Use
ArtOnTopto place the logo on top of the stats. - Use
StatsOnTopto place the stats on top of the logo.
layout = "Inline"
In the example above, the logo and stats will be placed next to each other.
Stats Margin Top
The stats_margin_top dictates how many lines the StatsBlock will be placed down.
stats_margin_top is set to 3:
$ catnap
:
: 3x
:
â•────────────╮
│ > user │
│ > hname │
├────────────┤
│ > uptime │
│ > distro │
│ > shell │
│ > packages │
╰────────────╯
stats_margin_top is set to 1:
$ catnap
: 1x
â•────────────╮
│ > user │
│ > hname │
├────────────┤
│ > uptime │
│ > distro │
│ > shell │
│ > packages │
╰────────────╯
NOTE: This config variable is
optionaland can be removed.