implements script to easily ssh connect from fuzzel

This commit is contained in:
Dennis Schoepf 2025-11-26 00:40:59 +01:00
parent 68bf60569f
commit aa9a0fe7f2
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,6 @@
#!/bin/sh
fish_executable="/run/current-system/sw/bin/fish"
selected=$(cat ~/.ssh/config | grep "Host " | cut -d " " -f 2 | sort | tail -n +2 | fuzzel --dmenu --prompt "Connect to: ")
ghostty -e "$fish_executable" -c "ssh $selected"