amishbni / bain

Battery Indicator
79 stars 1 forks source link

[Suggestion] Add support for more OS'es #2

Open giorgosioak opened 4 years ago

giorgosioak commented 4 years ago

Hi, i came from reddit. As an idea i had together with u/DoctorCreepy is to support more Linux OS'es like Fedora or Ubuntu with their own logo indead of Arch as of right now.

amishbni commented 4 years ago

@giorgosioak Hey, yeah I saw your comments there. Thanks for the suggestion. I do have plans to add more logos from different Linux distribution. I'll make sure to do it.

ghost commented 4 years ago

I just added a picture of the bunsenlabs-logo (same specs as arch.png) to the image folder and called it as $1 and it works like a charm on bunsenlabs. Care to have a copy?

amishbni commented 4 years ago

@Naik-NLZ definitely! Can you make a pr?

giorgosioak commented 4 years ago

You can find info about the os in files /etc/os-release and /etc/lsb-release.

You can do: source file so you can use it as variable. For example ${DISTRIB_ID}