run updated to use ghostty, and packaged so dependencies can be overlayed

This commit is contained in:
2025-01-10 15:58:56 -06:00
parent e24c468c79
commit 7d8e9fb07a
2 changed files with 29 additions and 9 deletions

View File

@@ -1,11 +1,6 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p bash zenity rmlint git gum xclip
#! /usr/bin/env bash
if [ -n "$1" ]; then
operation=$1
else
operation=$(gum choose rmlint download git)
fi
operation=${1:-$(gum choose rmlint download git)}
case $operation in
rmlint)
@@ -18,8 +13,7 @@ download)
--text="Verify the following entry is correct" \
--add-entry="Clipboard:" --entry-text "$(xclip -o -sel clip)")
if [ -n "$ENTRY" ]; then
# kgx -e "download -u jawz -i '$ENTRY'"
kgx -e "ssh miniserver ""download -u jawz -i ""$ENTRY"" "" "
ghostty -e "ssh miniserver ""download -u jawz -i ""$ENTRY"" "" "
else
zenity --error --width=250 \
--text "Please verify and try again"