Back (Current repo: dotfiles)

my dotfiles to make it easy to transfer my settings
To clone this repository:
git clone https://git.viktor1993.net/dotfiles.git
Log | Download | Files | Refs

showclip (249B)


#!/bin/bash

# small script to inspect clipboard contents

CL=$(xclip -o -selection clipboard)
PR=$(xclip -o -selection primary)

if [ -n "$CL" ]; then
    notify-send "Clipboard:" "$CL"
fi

if [ -n "$PR" ]; then
    notify-send "Primary:" "$PR"
fi