run updated to use ghostty, and packaged so dependencies can be overlayed
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user