diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..37ac71b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +battery diff --git a/README.md b/README.md index 3adffdf..8733a8b 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,18 @@ NerdFonts have been tested. Compile with ```sh -cc -Os battery.c -o battery +cc -O2 battery.c -o battery ``` -and copy the executable to `~/.local/bin`. +and copy or link the executable into `~/.local/bin`, which should be on your +`$PATH`. -In `~/.tmux.conf` setup the status bar with something like +Edit `~/.tmux.conf` and setup the status bar with something like ```tmux set-option -g status-right "#($HOME/.local/bin/battery) %a, %d %b %H:%M " ``` + +Reload tmux and enjoy! + +Miguel -- libgit2 0.21.2