1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-02-10 15:45:57 -05:00

Update inverter.sh

Error verbose for lack of X Display variable now uses stderr function
This commit is contained in:
Paradigm0001 2020-04-01 04:50:03 +00:00 committed by GitHub
parent 7f52a4a582
commit 1639605306
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ SED="${SED:-$(command -v gsed || printf 'sed')}"
dpy=$(printf "$DISPLAY" | tr -c '[:alnum:]' _)
if [ -z "$dpy" ]; then
echo "Cannot find display."
stderr "Cannot find display."
exit 1
fi