In macOS Mojave I followed the instructions here to hide the brightness and volume overlays:
Move the position of or hide the brightness/volume pop ups on high sierra
But this doesn't work anymore in Catalina:
$ csrutil status
System Integrity Protection status: disabled.
$ sudo defaults write /System/Library/LaunchAgents/com.apple.OSDUIHelper Disabled -bool YES
2019-10-09 18:08:46.109 defaults[6792:141312] Could not write domain /System/Library/LaunchAgents/com.apple.OSDUIHelper; exiting
$ sudo defaults write /System/Library/LaunchAgents/com.apple.BezelUI Disabled -bool YES
2019-10-09 18:09:06.500 defaults[6824:141922] Could not write domain /System/Library/LaunchAgents/com.apple.BezelUI; exiting
How can I hide the brightness and volume overlays in macOS Catalina?