XMonad spawn programs on startup in specified workspace

前端 未结 1 1519
抹茶落季
抹茶落季 2020-12-19 00:42

I am trying to configure my xmonad.hs so that when I start my session I start an array of different programs on different workspaces (like Terminal in 1 ; Firef

相关标签:
1条回答
  • The common way is to use startupHook which takes X () action and performs it on each startup. E.g.

    main = xmonad $ defaultConfig
      { startupHook = do
          spawnOn "workspace1" "program1"
          …
          spawnOn "workspaceN" "programN"
      }
    
    0 讨论(0)
提交回复
热议问题