summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-02-03 12:25:19 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-02-03 12:25:33 -0700
commitc61812b3a2aff29c54c2ce671d566d7a41c7689a (patch)
tree27d0c9dc839a0e2f72b4ea52f7a47532bbfa66bb /scripts
parent481b0199660668067d87e7e39375837c6561eb52 (diff)
downloaddotfiles-c61812b3a2aff29c54c2ce671d566d7a41c7689a.tar.gz
inline ssh-and-tmux-term
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/desktop/dmenu_ssh2
-rwxr-xr-xscripts/desktop/wofi_ssh2
-rwxr-xr-xscripts/desktop/wofi_ssh_lxc2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/desktop/dmenu_ssh b/scripts/desktop/dmenu_ssh
index c833166b..76d9aa72 100755
--- a/scripts/desktop/dmenu_ssh
+++ b/scripts/desktop/dmenu_ssh
@@ -3,5 +3,5 @@
host=$(perl -wlne'/^Host\s+(\S+)/ and !/\*/ and print $1' $HOME/.ssh/config \
| dmenu -p "ssh to tmux on host" "$@")
if [ -n "$host" ]; then
- ssh-and-tmux-term "$host"
+ xfce4-terminal -x ssh-and-tmux "$host"
fi
diff --git a/scripts/desktop/wofi_ssh b/scripts/desktop/wofi_ssh
index 525cf94b..6d1f0f86 100755
--- a/scripts/desktop/wofi_ssh
+++ b/scripts/desktop/wofi_ssh
@@ -3,5 +3,5 @@
host=$(perl -wlne'/^Host\s+(\S+)/ and !/\*/ and print $1' $HOME/.ssh/config \
| wofi --dmenu -p "ssh to tmux on host" "$@")
if [ -n "$host" ]; then
- ssh-and-tmux-term "$host"
+ foot ssh-and-tmux "$host"
fi
diff --git a/scripts/desktop/wofi_ssh_lxc b/scripts/desktop/wofi_ssh_lxc
index 08898d7e..41a296a8 100755
--- a/scripts/desktop/wofi_ssh_lxc
+++ b/scripts/desktop/wofi_ssh_lxc
@@ -12,6 +12,6 @@ host=$(perl -wlne'/^Host\s+(\S+)/ and !/\*/ and print $1' $HOME/.ssh/config \
| wofi --dmenu -p "container's host" "$@")
if [ -n "$host" -a -n "$container" ]; then
- ssh-and-tmux-term "$host" --container-name="${container}" \
+ foot ssh-and-tmux "$host" --container-name="${container}" \
--container-cmd="lxc-unpriv-attach -n %s --keep-var TERM --clear-env -vHOME=/root"
fi