mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
`-T` looks a universal option for `xterm` and `urxvtc`, but `sakura` requries `-t` (or `--title`) for example. |
||
|---|---|---|
| .. | ||
| package.lisp | ||
| README.org | ||
| swm-ssh.asd | ||
| swm-ssh.lisp | ||
Requirements
-
cl-ppcre
Install cl-ppcre from the REPL:
(ql:quickload :cl-ppcre)
Usage
This simple plugin parses your ssh config file and opens a connection using a teminal emulator.
Put the following in your ~/.stumpwmrc
(load-module "swm-ssh")
And use it either by calling the appropriate function directly (swm-ssh-menu)
or by defining a keybind (example <prefix> C-a) in your ~/.stumpwmrc
(define-key *root-map* (kbd "C-a") "swm-ssh-menu")
Variables
swm-ssh-default-term
Default terminal to open an ssh connection is urxvtc. To change it, use
(setq swm-ssh:*swm-ssh-default-term* "xterm")
swm-ssh-default-term-title-opt
Default terminal's title option is -T which is used to setup title to
a connection host. It works with both xterm and urxvtc out of the
box. nil disable it. To change it, use
(setq swm-ssh:*swm-ssh-default-termt-itle-opt* "--title")
swm-ssh-known-host-path
Path to thee list of know host bz SSH client. Defaults to ~/.ssh/known_hosts.
Change it with
(setq swm-ssh:*swm-ssh-known-hosts-path* "/path/to/ssh/known_hosts")