summarylogtreecommitdiffstats
path: root/pass-parcellite.patch
blob: b8c1f689baf9bd86f9d27709ef1f43a066fc26ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --unified --recursive --text password-store-1.7.3.orig/src/password-store.sh password-store-1.7.3.new/src/password-store.sh
--- password-store-1.7.3.orig/src/password-store.sh	2018-08-03 15:32:48.000000000 +1200
+++ password-store-1.7.3.new/src/password-store.sh	2019-04-20 15:17:19.671661200 +1200
@@ -172,6 +172,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 | xclip -selection "$X_SELECTION"
 	) >/dev/null 2>&1 & disown
 	echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds."