rofi-pass/config.example
2015-06-06 11:50:31 +02:00

37 lines
822 B
Plaintext

# set path to password store
basedir=~/.password-store/
# fields to be used
URL_field='URL'
USERNAME_field='UserName'
## Programs to be used
# Editor
EDITOR='gvim -f'
# Browser
BROWSER='chromium'
## Misc settings
help_color="#0C73C2"
# get active URL from browser
# Chose the one for your browser or create your own.
# chromium - needs url in title extension
# https://chrome.google.com/webstore/detail/url-in-title/ignpacbgnbnkaiooknalneoeladjnfgb
# set string to "{protocol}://{hostname}{port}/{path}/{args}"
domain () {
wmctrl -l | grep Chromium | awk '{print $(NF-2)}'
}
# firefox - needs Add URL to Window Title extension
# https://addons.mozilla.org/en-US/firefox/addon/add-url-to-window-title/
# set delimiter to "::"
# domain () {
# wmctrl -l | grep Firefox | grep "::" | awk '{print $(NF-3)}'
# }