You are not logged in.

#1 2017-01-21 07:53:21

qysj
Member
Registered: 2017-01-21
Posts: 1

Xmonad keeps creating new scratchpad terminals

I've been using guake for a while before switching to Xmonad. Looking for an equivalence in Xmonad and a scratchpad terminal seems like what I need. I've tried keybindings like

((controlMask, xK_t), scratchpadSpawnAction defaultConfig)

and

((controlMask, xK_t), scratchpadSpawnActionTerminal $ terminal defaultConfig)

but every time I press ctrl+T it will create a new terminal, just like what shift+alt+enter does.

I also tried to add a new manage hook to set its size and position, but nothing happened -- it was just opened as the master window

 scratchpadHook = scratchpadManageHook (W.RationalRect l t w h)
     where
         h = 0.3
         w = 1
         t = 0
         l = 0

Offline

Board footer

Powered by FluxBB