mangowm supports two types of scratchpads: the standard pool (Sway-like) and named scratchpads.
Standard Scratchpad
Any window can be sent to the "scratchpad" pile, which hides it. You can then cycle through them.
Keybindings:
Named Scratchpad
Named scratchpads are bound to specific keys and applications. When triggered, mangowm will either launch the app (if not running) or toggle its visibility.
1. Define the Window Rule
You must identify the app using a unique appid or title and mark it as a named scratchpad. The application must support setting a custom appid or title at launch. Common examples:
st -c my-appid — sets the appid
kitty -T my-title — sets the window title
foot --app-id my-appid — sets the appid
Use none as a placeholder when you only want to match by one field.
2. Bind the Toggle Key
Format: bind=MOD,KEY,toggle_named_scratchpad,appid,title,command
Use none for whichever field you are not matching on.
Appearance
You can customize the size of scratchpad windows relative to the screen.