diff options
Diffstat (limited to 'common/home')
| -rw-r--r-- | common/home/scripts/sshconnect | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/home/scripts/sshconnect b/common/home/scripts/sshconnect new file mode 100644 index 0000000..bd86ad8 --- /dev/null +++ b/common/home/scripts/sshconnect @@ -0,0 +1,7 @@ +#!/bin/sh + +connection=$(grep Host ~/global/.ssh/config | awk '{ print $2 }' | wofi -d) + +[ -z "$connection" ] && exit + +alacritty -e ssh "$connection" |