Skip to content

Commit

Permalink
add footnote on how to display the 8 colors
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSom3body committed Jan 6, 2025
1 parent d6361c5 commit e797acd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,15 @@ go build -ldflags="-s -w"

There is no real configuration, but you can override some values to change some things. The process of this is imo easier for nix but if you compile it yourself because you use a ~inferior~ different distro you need to do so with some flags.

| Key | Default Value | Description |
| --------- | ------------- | ----------------------------------------------------------------- |
| ifaceName | lo | The interface name from which to display the ip |
| color | 4 | The integer value of the color (0-7) you want to use for the keys |
| Key | Default Value | Description |
| --------- | ------------- | --------------------------------------------------------------------- |
| ifaceName | lo | The interface name from which to display the ip |
| color | 4 | The integer value of the color (0-7[^2]) you want to use for the keys |

[^2]:
Use one of these commands to display the 8 colors:
bash: `for i in $(seq 0 7); do tput setaf $i && echo $i; done`
fish: `for i in (seq 0 7); tput setaf $i && echo $i; end`

#### ❄️ nix overrides

Expand Down

0 comments on commit e797acd

Please sign in to comment.