awesome-ban icon indicating copy to clipboard operation
awesome-ban copied to clipboard

Error on start when not having a dedicated /home partition

Open sanklamm opened this issue 6 years ago • 1 comments

Just a FYI if someone else stumbles upon this issue I've had.

When I start Awesome WM with your theme, I've got an error rc.lua:218: attempt to call a nil value (field 'connect')

The issue was that fs.lua of the lain widgets tries to check the size of the /home partition. As I don't have a dedicated /home partition it threw an error.

All you have to do is to check for "/" instead of "/home" in theme.lua in the fs widget section.

Perhaps you could make that change and put a note in your readme that this can be changed to /home. This way your theme would be a little more robust for everyone.

Thanks for the well made theme.

sanklamm avatar Jun 26 '19 12:06 sanklamm

wow! that was a big help. thanks.

negativeExponent avatar Jun 08 '20 08:06 negativeExponent