Skip to main content

A command-line clipboard manager

Project description

A command line clipboard manager written in Python.

This clipboard manager is intended to be used without opening any additional screen. Once setup the only required step is to hit a key combination to save the current contents of the clipboard for later use.

Code Health

Dependencies

pyperclip python package is required. This package will be automatically installed.

On some Linux distros ``xclip`` package may be required. Install it with sudo apt-get install xclip on Ubuntu if you cannot save memos.

Installation

  • Using Pypi, pip install clipboard_memo
  • Now bind a key-combination to the cmemo_direct command to save memos directly with a single keystroke.

For example, for Ubuntu follow the instructions here and type cmemo_direct in the Command field.

Usage

To see the help screen type:

$ cmemo -h

usage: clipboard_memo <command> [<args>]
Available commands are:
    save                Save the contents of clipboard
    delete INDEX        Delete a memo of given index number
    delete -a | --all   Delete all saved memos
    ls                  List all saved memos
    yank INDEX          Copy a memo to clipboard

Save clipboard data as memos

positional arguments:
  command     Subcommand to run

optional arguments:
  -h, --help  show this help message and exit

Todo

  • Move from pickle to sqlite3
  • Add colors
  • Shrink multi-line memos

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clipboard_memo-0.2.zip (7.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page