polybar / polybar-scripts

This is a community project. We write and collect scripts for polybar!
The Unlicense
2.46k stars 338 forks source link

Fix sh errors with POSIX read #426

Closed maxdswain closed 1 year ago

maxdswain commented 1 year ago

If #!/bin/sh is linked to dash or any strictly POSIX compliant shell, these scripts will give a read: arg count error as the standard read utility requires at least one variable's name. These changes fix this issue.

x70b1 commented 1 year ago

Thanks!