dotfiles

beau's configuration files
git clone https://git.beauhilton.com/dotfiles.git
Log | Files | Refs | README

showclip (275B)


      1 #!/usr/bin/env sh
      2 
      3 # Display contents of selection via dunst if running.
      4 # Separate script for i3.
      5 
      6 clip=$(xclip -o -selection clipboard)
      7 prim=$(xclip -o -selection primary)
      8 
      9 [ -n "$clip" ] && notify-send "Clipboard:" "$clip"
     10 [ -n "$prim" ] && notify-send "Primary:" "$prim"