diff options
author | Erich Eckner <git@eckner.net> | 2021-01-05 06:11:48 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-01-05 06:11:48 +0100 |
commit | 5795ee2ce5087ce091c91ed3c54dc82cbcd5b3c6 (patch) | |
tree | eb7840390f4c1e673bef356f5491eeaf9bdeb7ab | |
parent | 583e838b5a535a866b0c0b9df7a785ab6f66824e (diff) | |
download | update-all-5795ee2ce5087ce091c91ed3c54dc82cbcd5b3c6.tar.xz |
password-to-clipboard new
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | password-to-clipboard | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -34,6 +34,7 @@ all: update-all update-me .PHONY: install dist clean install: all + install -D -m0755 password-to-clipboard $(DESTDIR)$(BINDIR)/password-to-clipboard install -D -m0755 update-all $(DESTDIR)$(BINDIR)/update-all install -D -m0755 update-me $(DESTDIR)$(BINDIR)/update-me install -D -m0644 update-all.conf $(DESTDIR)$(ETCDIR)/update-all.conf 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 |