Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 566 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 566 Bytes

Contrib.Ssh

This module is basically XMonad.Prompt.Ssh with a slight modification of the function sshPrompt to allow passing a custom command with the ssh argument.

This is useful, if you need to start something inside the new window, like for example tmux.

Usage example (taken from my Xmonad configuration):

((shiftMask .|. controlMask, xK_s),
        sshPrompt promptConfig (\p -> runInTerm "" $ "ssh -t " ++ p ++ " tmux -2 new-session"))