diff options
-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 |