Browse Source

line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line

pull/323/head
Wayne Reeves 5 years ago
parent
commit
ca64a6ae56
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bin/mailsync

+ 2
- 1
bin/mailsync View File

@@ -2,7 +2,8 @@
# Sync mail and give notification if there is new mail. # Sync mail and give notification if there is new mail.


export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
export DBUS_SESSION_BUS_ADDRESS
export DISPLAY=:0.0 export DISPLAY=:0.0
[ -d "$HOME/.local/share/password-store" ] && export PASSWORD_STORE_DIR="$HOME/.local/share/password-store" [ -d "$HOME/.local/share/password-store" ] && export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"




Loading…
Cancel
Save