Преглед на файлове

remove assumption of pass directory location

removes the assumption that if you have a directory: "$HOME/.local/share/password-store" then this should be the PASSWORD_STORE_DIR. If this directory exists - then who is to say you want to use it for the password store? - the user should prefix any call to mailsync with the correct PASSWORD_STORE_DIR (or export it in shell / wrapper script)
pull/453/head
rjl6789 преди 4 години
родител
ревизия
bf2f9725aa
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. +0
    -3
      bin/mailsync

+ 0
- 3
bin/mailsync Целия файл

@@ -15,9 +15,6 @@ command -v notify-send >/dev/null || echo "Note that \`libnotify\` or \`libnotif
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
export DISPLAY=:0.0

# For individual configurations:
[ -d "$HOME/.local/share/password-store" ] && export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"

# Settings are different for MacOS (Darwin) systems.
if [ "$(uname)" = "Darwin" ]; then
notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;}


Зареждане…
Отказ
Запис