diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-03 10:41:51 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-03 10:41:51 +0100 |
| commit | d23ff68fd2652225c5168b6938961c9291f65f23 (patch) | |
| tree | 4e4e60b40f0415ed14615fe92118c139c4e06c64 /common/home/scripts | |
| parent | 65005ed08183023e2580bd1b69ea725677084854 (diff) | |
add sshconnect
Diffstat (limited to 'common/home/scripts')
| -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" |