From 5795ee2ce5087ce091c91ed3c54dc82cbcd5b3c6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 5 Jan 2021 06:11:48 +0100 Subject: password-to-clipboard new --- Makefile | 1 + password-to-clipboard | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 password-to-clipboard diff --git a/Makefile b/Makefile index c8056d2..75958c3 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-54-g00ecf