notify-send.py
notify-send.py copied to clipboard
is it necessary to hardcode the user name and ID in the script for root?
In the readme it is mentioned that in order to use the script for root you must hardcode the user name and the user id.
I think it is not really necessary to hardcode them. Is there something wrong with:
user_name=$(id -un)
user_id=$(id -u)
user_group=$(id -g)
echo "${user_name}"
echo "${user_id}"
echo "${user_group}"