aboutsummaryrefslogtreecommitdiff
path: root/src/usr/bin/myautomount-trayicon
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/bin/myautomount-trayicon')
-rwxr-xr-xsrc/usr/bin/myautomount-trayicon1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/bin/myautomount-trayicon b/src/usr/bin/myautomount-trayicon
index d6ccc9f..7760a56 100755
--- a/src/usr/bin/myautomount-trayicon
+++ b/src/usr/bin/myautomount-trayicon
@@ -1,5 +1,6 @@
#!/bin/sh
# Part of myautomount project
+test -z "${UID}" && export UID="$( $( which id ) -u "${USER}" )"
. ${MYA_PREFIX}/etc/myautomount.conf
MYA_USER_CFG="${XDG_CONFIG_HOME:-${HOME}/.config}/myautomount.conf"
test -r "${MYA_USER_CFG}" && . "${MYA_USER_CFG}"
bgstack15