Skip to content

Commit

Permalink
docs: add an example of a ram custom module
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnsn committed Oct 13, 2024
1 parent 97092a2 commit 01fef4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added assets/ram-example.webp
Binary file not shown.
9 changes: 9 additions & 0 deletions custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ set -agF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] ##H "

This will append the current hostname (`#H`) to the status line with a teal background and dark black text.

You can also use icons for styling, for example to show the used memory percentage on MacOS:

```sh
set -g status-right "#[bg=#{@thm_flamingo},fg=#{@thm_crust}]#[reverse]#[noreverse]󱀙 "
set -ag status-right "#[fg=#{@thm_fg},bg=#{@thm_mantle}] #(memory_pressure | awk '/percentage/{print $5}') "
```

![Example of the custom ram module](../assets/ram-example.webp)

To use the status module formatting that catppuccin uses, do the following:

```sh
Expand Down

0 comments on commit 01fef4f

Please sign in to comment.