diff options
author | tsxv478 <atvx717@infraredcombat.xyz> | 2025-01-18 00:29:18 +0300 |
---|---|---|
committer | tsxv478 <atvx717@infraredcombat.xyz> | 2025-01-18 00:29:18 +0300 |
commit | 98bac79a5878faff965728ad668c65da8a3c56e1 (patch) | |
tree | ed6cec6df512d72419b7b9a36bbe02be38628fc9 | |
parent | 24f6c0907c0574df5bd083220a560332387af8fb (diff) |
-rwxr-xr-x | sshmenu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -if [ $DISPLAY ]; then +if [ $DISPLAY ] && command -v dmenu >/dev/null; then host=$(grep "^Host" $HOME/.ssh/config | cut -d ' ' -f 2 | dmenu -i -c -l 10 -p "SSH to:") [ "$host" ] || exit 0 |