Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Workspaces

Shows a monitor’s workspaces as dots, with the active one stretched into a pill, when you switch, when focus moves to another monitor, when a workspace asks for attention, or when one is created or removed. Click a dot to switch to it, or scroll on the dots for the previous or next one.

mochi ipc workspaces show shows the dots on demand, for the monitor under the pointer or the one named, and keeps them while the pointer is on them. The idle module’s hover = ["workspaces", "show"] shows them when the pointer rests on the clock.

It works on any compositor with the ext-workspace-v1 protocol.

# Workspaces: shows a monitor's workspaces when you switch, when focus moves
# to it, when one asks for attention, or when they're created or removed.
# Click a dot to switch, or scroll on them. `mochi ipc workspaces show`
# brings them up when you want, like from the idle module's `hover`.
[module.workspaces]
# How long the indicator stays, in milliseconds.
# timeout_ms = 1200
# Show a monitor when focus moves to it.
# focus = true
# Show workspaces that ask for attention.
# urgent = true
# Show workspaces being created or removed.
# changes = true
# Names for the monitors, shown when two or more are connected; without one
# the connector's name, like DP-3, shows.
# labels = {}
ActionWhat it does
mochi ipc workspaces switch <monitor> <workspace>Switches a monitor to one of its workspaces