aboutsummaryrefslogtreecommitdiffstats
path: root/bin/postit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/postit.sh')
-rwxr-xr-xbin/postit.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/postit.sh b/bin/postit.sh
index d0271e3..46addd0 100755
--- a/bin/postit.sh
+++ b/bin/postit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
-POSTIT=$(cat ~/scripts/postit | dmenu -l 20 -p "Select Postit:")
-echo -n "${POSTIT:0:${#POSTIT}}" | xsel -ip
+CLIP_HIST_FILE=/tmp/.clip_history
+# POSTIT=$(cat ${CLIP_HIST_FILE} | dmenu -l 20 -p "Select Postit:")
+sqlite3 $(cat /tmp/lclipd_db_name) 'select content from lclipd;' | dmenu -l 20 | xsel -ib
+# echo -n "${POSTIT:0:${#POSTIT}}" | xsel -ip