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

@ -21,7 +21,7 @@
vertical-pad = 20;
inner-pad = 25;
image-size-ratio = 1;
prompt = "Open\t";
prompt = "Open: ";
};
colors = {
background = "0f0b15f5";

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"

View file

@ -1,3 +1,3 @@
#!/bin/sh
cliphist list | fuzzel --dmenu --prompt "Copy\t" | cliphist decode | wl-copy
cliphist list | fuzzel --dmenu --prompt "Copy: " | cliphist decode | awk '{$1=$1};1' | head -c -1 | wl-copy