pytermwm
offline
desktops
MMMMMMMMMM

Click the screen to focus it, then type. Keys, mouse and paste go to pytermwm exactly like on a real terminal.

idtitlekindsizestatedesktop

    
❯
command reference
commandusagehelp

The file is validated while you type. Saving writes it and applies it immediately (windows, layouts, themes, keys, plugins and rules follow the file).

Rules

ruletriggerfiredlast error

Rule builder


  

script API

wm                       the WindowManager
api.command(name, fn)    fn(wm, args) -> result
api.on(event, fn)        window_created, window_focus, ...
api.on_output(regex, fn) fn(window, line, match)
api.every(seconds, fn)   periodic call
api.key("M-g", "cmd")    bind a key
api.status(key, value)   status line item
wm.execute("layout grid")  run any command
api.log.info("...")      logging

Scripts run inside the session with full access to the window manager: only edit what you trust. Files live next to the configuration in scripts/; they reload when saved.

pluginstateprovides

events