summarylogtreecommitdiffstats
path: root/pass-parcellite.patch
blob: 518513f7667c114be14a1c7e5ea1b1496f42e4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --unified --recursive --text password-store-1.7.4.orig/src/password-store.sh password-store-1.7.4.new/src/password-store.sh
--- password-store-1.7.4.orig/src/password-store.sh	2021-06-12 04:49:06.000000000 +1200
+++ password-store-1.7.4.new/src/password-store.sh	2021-06-14 21:35:10.278054298 +1200
@@ -192,6 +192,9 @@
 		# so we axe it here:
 		qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory &>/dev/null
 
+		# Clear Parcellite clipboard history
+		echo -n "clear_all" > "$HOME"/.local/share/parcellite/fifo_cmd 2>/dev/null
+
 		echo "$before" | $BASE64 -d | "${copy_cmd[@]}"
 	) >/dev/null 2>&1 & disown
 	echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds."