diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-18 03:28:51 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-18 03:28:51 +0100 |
commit | 1de8cd4e7c9b7979b3da73dcbe06a0eb299edce9 (patch) | |
tree | 6e224a88aaf4a75a0196f8c134b20d2d316972a9 | |
parent | fa1e28a374dc87f16afd2f1f19051a1e5eba7b37 (diff) | |
download | xmonad-config-1de8cd4e7c9b7979b3da73dcbe06a0eb299edce9.tar.gz xmonad-config-1de8cd4e7c9b7979b3da73dcbe06a0eb299edce9.tar.xz xmonad-config-1de8cd4e7c9b7979b3da73dcbe06a0eb299edce9.zip |
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.
-rw-r--r-- | xmonad.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |