|
|
|
|
132
|
# get the nick of the user
|
132
|
# get the nick of the user
|
133
|
toxuser="$(echo "$line" | awk -F ' ' '{print $1}')"
|
133
|
toxuser="$(echo "$line" | awk -F ' ' '{print $1}')"
|
134
|
|
134
|
|
135
|
- notify-send $"$toxuser" $"has joined the mesh" --icon=dialog-information
|
|
|
|
|
135
|
+ export DISPLAY=:0.0 && export XAUTHORITY=/home/$MESH_USERNAME/.Xauthority && sudo -u MESH_USERNAME /usr/bin/notify-send $"$toxuser" $"has joined the mesh" --icon=dialog-information
|
136
|
fi
|
136
|
fi
|
137
|
fi
|
137
|
fi
|
138
|
done < "$CURRENT_USERS_FILE"
|
138
|
done < "$CURRENT_USERS_FILE"
|