From 1de8cd4e7c9b7979b3da73dcbe06a0eb299edce9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 18 Jan 2016 03:28:51 +0100 Subject: Use in-dir helper to exec some application in a special dir With this helper the application is exec'd after change the directory. This has the advantage, that spanHere works, because the PID of the window will be the PID of the started process. --- xmonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmonad.hs') diff --git a/xmonad.hs b/xmonad.hs index 8324c7e..d23e6c0 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -169,7 +169,7 @@ topicsConfig = TopicConfig where spawnShell = currentTopicDir topicsConfig >>= spawnShellIn spawnShellIn dir = - spawnHere $ "cd " ++ dir ++ " && " ++ term + spawnHere $ "in-dir " ++ dir ++ " " ++ term topicsGrid = withWindowSet $ \w -> do -- cgit v1.2.3