Use ssh hostname in window title, instead just ssh

`-T` seems universal way to setup title which works on both xterm and urxvt
This commit is contained in:
Kirill A. Korinsky 2024-12-03 14:23:10 +01:00
parent 7f0bc885b0
commit 0b30ae0fd8
No known key found for this signature in database
GPG key ID: 98D8D9867759226E

View file

@ -30,4 +30,6 @@
:test #'equal))
"Open ssh connection to: ")))
(when entry
(stumpwm:run-shell-command (format nil "~A -e ssh ~A" *swm-ssh-default-term* (car entry))))))
(let ((host (car entry)))
(stumpwm:run-shell-command
(format nil "~A -T ~A -e ssh ~A" *swm-ssh-default-term* host host))))))