summary refs log tree commit diff stats
path: root/bin/prepinentry
diff options
context:
space:
mode:
Diffstat (limited to 'bin/prepinentry')
-rwxr-xr-xbin/prepinentry10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/prepinentry b/bin/prepinentry
deleted file mode 100755
index bec7c46..0000000
--- a/bin/prepinentry
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-TARGET_PROGRAM="/home/chris/.gnupg/pinentry-dmenu"
-
-inotifywait -m -e access "$TARGET_PROGRAM" | while read; do
-    if [ -f "/home/chris/.gnupg/current_monitor" ]; then
-        rm /home/chris/.gnupg/current_monitor
-    fi
-    swaymsg -t get_outputs | jq -r '.[] | select(.focused==true).name' >> /home/chris/.gnupg/current_monitor
-done