To restart your display manager.
sudo systemctl restart display-manager
For bash scripts, use:
e exits the script on failure and
u considers reading unset variables a failure.
Installing AUR Packages
If, while trying to install a package, you get an error like:
error: failed retrieving file ...
pacman -Syu thing to update your package lists.