Skip to content

Clipboard

The clipboard icon opens your clipboard history, docked against the left edge of the screen whose bar you clicked. It keeps text, pictures and files copied in a file manager, newest first.

  • Click a card to copy it again. The outlined top card is what is on the clipboard now.
  • The pin keeps an entry through trimming and Clear; the bin deletes one.
  • The panel never takes keyboard focus, so your window keeps its cursor. It stays open until you click its × or the icon again.
  • It sits above your windows without moving them, like the notification panel; docked on the same edge, the two sit side by side.
[modules.clipboard]
side = "left"
width = 360
max_entries = 100
persist = true
max_item_mb = 32
animation = "slide"
Key Type Default Description
side string "left" Edge the panel docks against: "left" or "right"
width int 360 Panel width in pixels (240–1200)
max_entries int 100 Entries kept before the oldest go (1–1000); pinned ones don’t count
persist bool true Keep history across restarts. false deletes the saved history
max_item_mb int 32 Skip anything larger than this, in MB (1–1024). Text is capped at 2 MB
animation* How the panel opens and closes — see the panel’s animation
  • side, width and the animation keys apply the next time the panel opens.
  • Copied files are kept as paths, so max_item_mb limits pictures and media copied directly.
  • History is recorded only while some bar has the clipboard icon. It is stored, private to you, in ~/.local/state/moonswing/clipboard/ (or under $XDG_STATE_HOME). Entries a password manager marks as secret (KeePassXC does) are never recorded.
  • Requires wl-clipboard (wl-paste, wl-copy) and a compositor with the wlr- or ext-data-control protocol. Without them the icon dims and the panel says what is missing, with a retry.

The icon is in the default bottom panel. To add it to an existing config, use Settings › Shell › Panels & Layout or:

[panels.bottom.layout]
left = ["clipboard"]