summaryrefslogtreecommitdiff
path: root/password-to-clipboard
diff options
context:
space:
mode:
Diffstat (limited to 'password-to-clipboard')
-rwxr-xr-xpassword-to-clipboard6
1 files changed, 6 insertions, 0 deletions
diff --git a/password-to-clipboard b/password-to-clipboard
new file mode 100755
index 0000000..0a52c72
--- /dev/null
+++ b/password-to-clipboard
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+stty_orig=$(stty -g)
+stty -echo
+xclip
+stty $stty_orig