Compare commits

...

3 commits

Author SHA1 Message Date
Geoffrey Frogeye 11c1c8d9f1 Merge remote-tracking branch 'office/main' 2024-02-03 19:40:42 +01:00
Geoffrey Frogeye 21aed8114f
btdu 2024-02-03 19:40:06 +01:00
Geoffrey Preud'homme 8e6203ce7d
scripts/lip: Fix 2024-02-01 16:24:19 +01:00
3 changed files with 6 additions and 6 deletions

View file

@ -398,11 +398,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1706098335, "lastModified": 1706718339,
"narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=", "narHash": "sha256-S+S97c/HzkO2A/YsU7ZmNF9w2s7Xk6P8dzmfDdckzLs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a77ab169a83a4175169d78684ddd2e54486ac651", "rev": "53fbe41cf76b6a685004194e38e889bc8857e8c2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -182,6 +182,7 @@
jdupes jdupes
duperemove duperemove
compsize compsize
btdu
# toolbox # toolbox
imagemagick imagemagick

View file

@ -1,8 +1,8 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#! nix-shell -i bash --pure #! nix-shell -i bash --pure
#! nix-shell -p bash jq curl findutils coreutils #! nix-shell -p bash jq curl cacert findutils coreutils
set -euo pipefail set -euxo pipefail
url="https://ip.frogeye.fr/json" url="https://ip.frogeye.fr/json"
cachedir="$HOME/.cache/lip" cachedir="$HOME/.cache/lip"
@ -16,7 +16,6 @@ then
jq_sel="$@" jq_sel="$@"
fi fi
if [ -n "$ip" ] if [ -n "$ip" ]
then then
cachefile="$cachedir/$ip" cachefile="$cachedir/$ip"