Create a directory and run the following command.
npm init
For this tutorial, I will be adding an index.js file to the src
folder, and this will be our entry point.
Our file directory should look like this.
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |