mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 01:31:52 -07:00
SshPrompt now uses RunInXTerm to launch the command
This commit is contained in:
@@ -20,6 +20,7 @@ module XMonadContrib.SshPrompt (
|
||||
|
||||
import XMonad
|
||||
import XMonadContrib.XPrompt
|
||||
import XMonadContrib.RunInXTerm
|
||||
|
||||
import Control.Monad
|
||||
import System.Directory
|
||||
@@ -47,7 +48,7 @@ sshPrompt c = do
|
||||
mkXPrompt Ssh c (mkComplFunFromList sc) ssh
|
||||
|
||||
ssh :: String -> X ()
|
||||
ssh s = spawn $ "exec xterm -e ssh " ++ s
|
||||
ssh s = runInXTerm ("ssh " ++ s)
|
||||
|
||||
sshComplList :: IO [String]
|
||||
sshComplList = do
|
||||
|
Reference in New Issue
Block a user