regolith-linux / regolith-i3xrocks-config

Regolith customization of i3xrocks.
Other
29 stars 49 forks source link

Fix disk-capacity button clicks, add tests #98

Closed moritzheiber closed 3 years ago

moritzheiber commented 3 years ago

disk-capacity is using sh, which doesn't support the syntax added for the button click guard. Fixed by using bash instead.

Also slightly changed the way we're getting the free capacity to be less cumbersome to parse and only use awk instead of grep and awk.

Also added tests.

kgilmer commented 3 years ago

Looks good, thanks for the cleanup work and tests!

eblume commented 3 years ago

I just saw this in your reply to my slack post, @moritzheiber - thank you so much!