Add config files and Makefile

This commit is contained in:
Rasmus Steinke 2015-05-22 22:15:14 +02:00
parent 788a78df46
commit f4255a9578
3 changed files with 16 additions and 0 deletions

9
Makefile Normal file
View File

@ -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

5
config.example Normal file
View File

@ -0,0 +1,5 @@
basedir=~/.password-store/
URL_field='URL'
USERNAME_field='UserName'
EDITOR='gvim -f'

View File

@ -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'