smriti स्मृति
a Vyom tool

smriti

स्मृति · “memory”

Clipboard history (cliphist): grouped by time, links, images, code and commands told apart by colour, thumbnails, a full preview, pins.

नष्टो मोहः स्मृतिर्लब्धा त्वत्प्रसादान्मयाच्युत ।
स्थितोऽस्मि गतसन्देहः करिष्ये वचनं तव ॥

Confusion is gone and memory regained; I stand free of doubt. Bhagavad Gītā 18.73
v0.4.0 latest8 releases4 decisions recordedMIT license

smriti: the clipboard history grouped into Pinned, Just now and Today, each kind in its own colour with an image thumbnail, and the picked code with syntax colours and Copy, Paste, Pin and a red Delete

Screenshots use made-up demo data.

Smriti (स्मृति) is Sanskrit for "memory": everything you copied, remembered.

smriti is clipboard history for Vyom: one keyboard-driven panel that opens instantly, with live data, a preview and a key for everything. It runs on any compositor with the layer-shell protocol (sway, Hyprland, river, niri, Wayfire, labwc…). In Vayu, the desktop it was built for, it replaces cliphist list | wofi --dmenu.

#Features

#Install

#Requirements

#Install

git clone https://github.com/Theyashsawarkar/smriti ~/.local/share/vyom/plugins/smriti
vyom reload           # pick it up (or log out and in)
vyom smriti            # open it; run it again to close

Give it a key in your compositor, e.g. sway:

bindsym $mod+<key> exec vyom smriti

#Update and uninstall

git -C ~/.local/share/vyom/plugins/smriti pull && vyom reload     # update
rm -rf ~/.local/share/vyom/plugins/smriti && vyom reload          # uninstall

#Usage

Open it with vyom smriti (or your key). It opens in insert mode: type to search. Esc goes to normal mode, where every key is a command and Space is the leader (a strip shows what comes next); i or / types again. The footer always shows the keys for what's selected.

Vyom's keys work too (every vim tool has them): ? and Space ? list every key, Space Space is the palette, j / k move, gg / G jump, / searches again, H / L switch tabs, q closes, Space u f is fullscreen, Esc steps back.

Insert mode (typing; smriti opens in it)

KeyAction
EnterCopy the selected entry
Ctrl+EnterPaste the selected entry (copies it, then pastes into your window)

Normal mode

KeyAction
EnterCopy the selected entry and close
pPaste the selected entry into your window
y yCopy the selected entry and stay open
mPin or unpin the selected entry
d dDelete the selected entry (a pinned one: unpin it; asks first)

Both modes

KeyAction
Ctrl+PPin or unpin the selected entry

Leader (Space)

KeyAction
Space y yCopy the selected entry and stay open
Space y pCopy the selected entry's text, trimmed
Space m pPin or unpin the selected entry
Space d dDelete the selected entry (asks first)
Space d aClear the whole history; pins stay (asks first)
Space o bOpen the selected link in the browser
Space o eOpen the selected entry in $EDITOR

#Configuration

Everything is optional, in ~/.config/vyom/config.toml under [plugin.smriti]:

SettingDefaultWhat it does
track_timestrueWatch the clipboard to note when each entry was copied (false: no watcher; entries get the time smriti first listed them)

Run vyom reload after editing.

#Troubleshooting

#The Vyom family

Each tool is its own repository, so you install only the ones you want:

ToolWhat it does
dvaraद्वार, gatewayThe app launcher
ganitगणित, mathematicsThe calculator and converter
smriti (this one)स्मृति, memoryClipboard history
bhavaभाव, feeling, emotionThe emoji picker
tarangतरंग, waveWi‑Fi and the hotspot
setuसेतु, bridgeBluetooth
dootदूत, messengerYour phone, through KDE Connect
patraपात्र, vesselDocker containers
akashvaniआकाशवाणी, voice from the skyNotifications
ragaराग, melodyYouTube music and video
mudraमुद्रा, gestureKeybinding search
urjaऊर्जा, energyThe battery at a glance
vishramविश्राम, restThe power menu
kendraकेन्द्र, centreQuick settings

#Contributing

Bug reports, ideas and pull requests are welcome: see CONTRIBUTING.md for the development setup and the few rules every tool follows, and CHANGELOG.md for what changed in each release. Please report security issues privately (SECURITY.md).

#License

MIT.