move to codeberg (#1)

This commit is contained in:
T. von Dein
2025-12-16 20:43:46 +01:00
parent 541804e139
commit a91664c8c2
6 changed files with 140 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ command = "watson status -e | sed -e 's/ ago//' -e 's/ seconds/s/' -e 's/ minute
# use perl to parse the status file directly
command = 'perl -n -e "if (/start.: (\d+)/) { \$diff = (time - \$1) / 3600; printf \"%.02fh\n\", \$diff; }" < ~/.config/watson/state'
# use bash, date and https://github.com/TLINDEN/rpnc direclty on the status file
# use bash, date and https://codeberg.org/scip/rpnc direclty on the status file
command = 'if [[ "$(grep start ~/.config/watson/state)" =~ ([0-9]+) ]]; then echo $(("$(date +%s)" - "${BASH_REMATCH[1]}")) 3600 / | rpn; fi'
```
@@ -32,7 +32,7 @@ You'll need the Golang toolchain for this (version 1.23+).
To build:
```shell
git clone https://github.com/TLINDEN/watson-starship.git
git clone https://codeberg.org/scip/watson-starship.git
cd watson-starship
make
make install
@@ -57,7 +57,7 @@ best way for me to forget to do something.
In order to report a bug, unexpected behavior, feature requests or to
submit a patch, please open an issue on github:
https://github.com/TLINDEN/watson-starship/issues.
https://codeberg.org/scip/watson-starship/issues.
## Copyright and license
@@ -69,7 +69,7 @@ T.v.Dein <tom AT vondein DOT org>
## Project homepage
https://github.com/TLINDEN/watson-starship
https://codeberg.org/scip/watson-starship
## Copyright and License