i3wm-config/scripts/show-clip-pic.sh

6 lines
93 B
Bash

#!/bin/bash
uuid=$(uuidgen)
xclip -out -selection clipboard > /tmp/$uuid && feh /tmp/$uuid