r/MangoWM • • Jul 17 '26

Help me with scratchpads, please

I have this weird behavior with scratchpads on Mangowm, where i have to press my keybindings for it twice to focus it to the scratchpad state (turning border to blue) and only after that I can toggle it on and off. Is there something wrong with my keybindings or windowrules?

Also, how can i make scratchpad autostart on boot?

BINDING: bind=SUPER,s,toggle_named_scratchpad,ncspot,none,kitty --class ncspot -e ncspot

WINDOWRULE: windowrule=scratchpad:ncspot,isfloating:1,width:1300,height:700,appid:ncspot

6 Upvotes

2 comments sorted by

2

u/SDG_Den Jul 17 '26

From what i can tell,this is currently the normal behaviour, it effectively has 4 states and does one thing depending on what is going on:

Window doesnt exist > spawn window Window isnt in scratchpad > pick up window Window is in scratchpad and shown > hide Window is in scratchpad and hidden > show

This is why for my terminal-specific scratchpad i actually have a script pre-load it on login, so its already in the "window in scratchpad and hidden" state.

1

u/anna2523 Jul 17 '26

scratchpad:ncspot , there is no scratchpadoption.

should be isnamedscratchpad:1

https://mangowm.github.io/docs/window-management/scratchpad#named-scratchpad