Skip to content

Skxxtz/sherlock-clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sherlock Clipboard History

This is a lightweight program to enable clipboard history support for Sherlock.

Usage

sherlock-clp | sherlock | cliphist-decode | wl-copy

Installation

Runtime Dependencies

  • cliphist

If you're using Arch Linux, you can install the sherlock-clp package with the following command:

yay -S sherlock-clp-git

To build sherlock-clipboard from source, follow these steps.
Make sure you have the necessary dependencies installed:

  1. Clone the repository:

    git clone https://github.com/skxxtz/sherlock-clipboard.git
    cd sherlock-clipboard
  2. Build the project:

    cargo build --release
  3. Install the binary:

    After the build completes, install the binary to your system:

    sudo cp target/release/sherlock-clp /usr/local/bin/

Make sure you have the following dependency installed:

  1. Download the archive containing the latest release:

    The archive can be found here.

  2. Extract the files from the archive:

    cd ~/Downloads/
    tar -xzf sherlock-clipboard*.tar.gz

    You can use tab-completion or run ls to verify the name of the archive.

  3. Install the binary:

    Now move the binary to a location on your $PATH environment variable:

    sudo mv sherlock-clipboard /usr/local/bin/

    Optionally also move the LICENSE file or delete it:

    sudo mkdir -p /usr/share/doc/sherlock-clipboard
    sudo mv LICENSE /usr/share/doc/sherlock-clipboard/
    
    # or, to remove it:
    rm LICENSE

To build a .deb package directly from the source, follow these steps:
Make sure you have the following dependencies installed:

  1. Install the cargo-deb tool:

    First, you need to install the cargo-deb tool, which simplifies packaging Rust projects as Debian packages:

    cargo install cargo-deb
  2. Build the Debian package:

    After installing cargo-deb, run the following command to build the .deb package:

    cargo deb

    This will create a .deb package in the target/debian directory.

  3. Install the generated .deb package:

    Once the package is built, you can install it using:

    sudo dpkg -i target/debian/sherlock-clipboard*.deb

    You can use tab-completion or ls target/debian/ to confirm the file name.

    (Make sure to replace the filename if the version number is different.)

About

A custom plugin for Sherlock adding clipboard history support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors