mirror of
https://codeberg.org/scip/watson-starship.git
synced 2025-12-18 13:11:02 +01:00
move to codeberg (#1)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user