add wakatime

This commit is contained in:
Alexander Popov 2021-08-09 22:57:55 +03:00
parent d88058ddc3
commit e8691f731a
Signed by: iiiypuk
GPG Key ID: 398FC73478D97286
4 changed files with 27 additions and 0 deletions

5
.wakatime.cfg Normal file
View File

@ -0,0 +1,5 @@
[settings]
debug = true
api_key =
status_bar_icon = true
status_bar_coding_activity = true

View File

@ -2,6 +2,9 @@
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
source /usr/share/git/completion/git-completion.bash source /usr/share/git/completion/git-completion.bash
source $HOME/.config/bash-wakatime/bash-wakatime.sh
export PATH="$PATH;/home/alex/.local/bin"
ENDCOLOR="\e[m" ENDCOLOR="\e[m"
PS1="\e[36m\h${ENDCOLOR} \e[35m\W${ENDCOLOR} \$> " PS1="\e[36m\h${ENDCOLOR} \e[35m\W${ENDCOLOR} \$> "

16
bash/README.md Normal file
View File

@ -0,0 +1,16 @@
## WakaTime
```bash
pip3 install wakatime
```
```bash
git clone https://github.com/gjsheep/bash-wakatime.git
```
Include the `bash-wakatime.sh` file in your `~/.bashrc` file.
```bash
source $HOME/.config/bash-wakatime/bash-wakatime.sh
```
Make sure your [API Key](https://wakatime.com/settings/api-key) is in your `~/.wakatime.cfg` file.

3
micro/README.md Normal file
View File

@ -0,0 +1,3 @@
```bash
$ micro -plugin install wakatime
```