From 4b0ef68be03ebbe9da56520d62ce372f66a2a12f Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 4 May 2023 22:54:48 +0330 Subject: update --- bin/postit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/postit.sh') diff --git a/bin/postit.sh b/bin/postit.sh index 496ddd8..7447540 100755 --- a/bin/postit.sh +++ b/bin/postit.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh -SQL_DB="$(cat /tmp/lclipd/lclipd_db_name)" +SQL_DB="/dev/shm/lclipd" content=$(sqlite3 "${SQL_DB}" "select replace(content,char(10),' '),id from lclipd;" | dmenu -fn "DejaVuSansMono Nerd Font Mono-11.3;antialias=true;autohint=true" -D "|" -l 20 -p "lclipd:") sqlite3 "${SQL_DB}" "select content from lclipd where id = ${content}" | xsel -ib -- cgit v1.2.3