voidrice/.scripts/showclip

7 lines
168 B
Text
Raw Normal View History

2018-10-29 19:01:24 +00:00
#!/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)"