configures fuzzel scripts

This commit is contained in:
Dennis Schoepf 2025-11-26 00:48:37 +01:00
parent aa9a0fe7f2
commit 9fe5d5ac1e
2 changed files with 13 additions and 0 deletions

View file

@ -1,6 +0,0 @@
#!/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"