diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-02-03 12:25:19 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-02-03 12:25:33 -0700 |
commit | c61812b3a2aff29c54c2ce671d566d7a41c7689a (patch) | |
tree | 27d0c9dc839a0e2f72b4ea52f7a47532bbfa66bb /scripts | |
parent | 481b0199660668067d87e7e39375837c6561eb52 (diff) | |
download | dotfiles-c61812b3a2aff29c54c2ce671d566d7a41c7689a.tar.gz |
inline ssh-and-tmux-term
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/desktop/dmenu_ssh | 2 | ||||
-rwxr-xr-x | scripts/desktop/wofi_ssh | 2 | ||||
-rwxr-xr-x | scripts/desktop/wofi_ssh_lxc | 2 |
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 |