voidrice/.scripts/showclip
2018-10-29 15:01:24 -04:00

6 lines
168 B
Bash
Executable file

#!/bin/sh
# Display contents of selection via dunst if running.
# Separate script for i3.
pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard)"