[XMonad] Spawn when executing chrome tab commands
This commit is contained in:
parent
4df646f438
commit
4acdbb2b36
@ -374,10 +374,10 @@ chromeTabAction doSplit action selected =
|
|||||||
Right ChromeInfo { tabId = tid } ->
|
Right ChromeInfo { tabId = tid } ->
|
||||||
liftIO $ do
|
liftIO $ do
|
||||||
let command = if doSplit then
|
let command = if doSplit then
|
||||||
"split_tab_by_id.sh"
|
"split_tab_by_id.sh %s"
|
||||||
else
|
else
|
||||||
"focus_tab_by_id.sh"
|
"focus_tab_by_id.sh %s"
|
||||||
_ <- io $ runProcessWithInput command [show tid] ""
|
spawn $ printf command $ show tid
|
||||||
return ()
|
return ()
|
||||||
|
|
||||||
-- This needs access to X in order to unminimize, which means that it can't be
|
-- This needs access to X in order to unminimize, which means that it can't be
|
||||||
|
Loading…
Reference in New Issue
Block a user