move to backup
This commit is contained in:
parent
294dc66380
commit
a0e3d792a9
182 changed files with 156 additions and 103 deletions
8
bak/modules/wm/fuzzel/scripts/fuzzel-ssh.sh
Executable file
8
bak/modules/wm/fuzzel/scripts/fuzzel-ssh.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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: ")
|
||||
|
||||
if [ "$selected" != "" ]; then
|
||||
ghostty -e "$fish_executable" -c "ssh $selected"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue