run now downloads locally

This commit is contained in:
Danilo Reyes 2025-07-27 11:28:49 -06:00
parent 6384d8ad17
commit 6324aaa7b8
2 changed files with 6 additions and 6 deletions

8
flake.lock generated
View File

@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1746557022, "lastModified": 1753345091,
"narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=", "narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860", "rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -15,7 +15,7 @@ download)
--add-entry="Link:" \ --add-entry="Link:" \
--entry-text "$(xclip -o -sel clip)") --entry-text "$(xclip -o -sel clip)")
if [ -n "$ENTRY" ]; then if [ -n "$ENTRY" ]; then
cmd="ssh server \"download -u jawz" cmd="download -u jawz"
if ! zenity --question --text "Use archive database?" \ if ! zenity --question --text "Use archive database?" \
--ok-label="Yes" --cancel-label="Cancel"; then --ok-label="Yes" --cancel-label="Cancel"; then
@ -26,7 +26,7 @@ download)
cmd+=" -s" cmd+=" -s"
fi fi
cmd+=" -i \"$ENTRY\" \"" cmd+=" -i \"$ENTRY\" "
ghostty -e "$cmd" ghostty -e "$cmd"
else else
zenity --error --width=250 \ zenity --error --width=250 \