summaryrefslogtreecommitdiffstats
path: root/.scripts/showclip
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-29 15:01:24 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-10-29 15:01:24 -0400
commit31505f93f0537988b3386074065dd1c01d46e04b (patch)
tree200795eae866f8b7fad0cc25c8b4c75ddb5c541f /.scripts/showclip
parente5bac9fff4ea93c5fdf0979e706691fce51e667f (diff)
downloadeibhear-31505f93f0537988b3386074065dd1c01d46e04b.tar.gz
eibhear-31505f93f0537988b3386074065dd1c01d46e04b.tar.zst
eibhear-31505f93f0537988b3386074065dd1c01d46e04b.zip
dmenu unicode script added
Diffstat (limited to '.scripts/showclip')
-rwxr-xr-x.scripts/showclip6
1 files changed, 6 insertions, 0 deletions
diff --git a/.scripts/showclip b/.scripts/showclip
new file mode 100755
index 0000000..38be25a
--- /dev/null
+++ b/.scripts/showclip
@@ -0,0 +1,6 @@
+#!/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)"