diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-05-22 22:15:14 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-05-22 22:15:14 +0200 |
commit | f4255a9578168e2f94180e65c616ab25ef1385b4 (patch) | |
tree | 806746f81475f7b43b5ba73755a0d5225109e519 | |
parent | 788a78df46a6afbe270b2faf23a742e4f9356c9c (diff) | |
download | rofi-pass-f4255a9578168e2f94180e65c616ab25ef1385b4.tar.gz |
Add config files and Makefile
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | config.example | 5 | ||||
-rwxr-xr-x | rofi-pass | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3176b03 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +ifndef PREFIX + PREFIX=/usr/local +endif + +install: + install -Dm755 rofi-pass $(DESTDIR)$(PREFIX)/bin/rofi-pass + install -Dm644 config.example $(DESTDIR)$(PREFIX)/share/doc/rofi-pass/config.example + install -Dm644 README.md $(DESTDIR)$(PREFIX)/share/doc/rofi-pass/README.md + install -Dm644 config.example $(DESTDIR)/etc/rofi-pass.conf diff --git a/config.example b/config.example new file mode 100644 index 0000000..20d95e8 --- /dev/null +++ b/config.example @@ -0,0 +1,5 @@ +basedir=~/.password-store/ +URL_field='URL' +USERNAME_field='UserName' +EDITOR='gvim -f' + @@ -5,6 +5,8 @@ # (c) 2015 Thore Bödecker <me@foxxx0.de> shopt -s nullglob globstar +source /etc/rofi-pass.conf +source $HOME/.config/rofi-pass/config basedir=~/.password-store/ URL_field='URL' |