diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-18 17:37:42 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-18 17:37:42 +0000 |
commit | cb545061e4c4207667ca898c2dc21c35477987ee (patch) | |
tree | f163b8c64e4aa4e44d0b3397f3f7120b9b2eb7d5 /bin/postit.sh | |
parent | update (diff) | |
download | scripts-cb545061e4c4207667ca898c2dc21c35477987ee.tar.gz scripts-cb545061e4c4207667ca898c2dc21c35477987ee.zip |
update
Diffstat (limited to 'bin/postit.sh')
-rwxr-xr-x | bin/postit.sh | 6 |
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 |