vinceliuice / Qogir-theme

Qogir is a flat Design theme for GTK
GNU General Public License v3.0
1.58k stars 119 forks source link

Script fix and readme update #334

Closed barunespadhy closed 1 month ago

barunespadhy commented 1 month ago

Issue Description

When installing the theme with the parameter to install it as a dark theme (-c dark), the Adwaita linking fails, since it does not capture the right theme name.

The README.md did not contain instructions on installing the dependencies for openSUSE.

Steps to Reproduce

In the terminal, run:

./install.sh -c dark -i opensuse -l

This works, but doesn't do any linking, since the theme is always selected as Qogir-Light.

Fix

The issue with installation happens because in link_theme() function, it had COLOR_VARIANTS[1] so it always took '-Light'. This was changed to colors[@]. Subsequently I also changed THEME_VARIANTS[0] to themes[@] so that it also considers the right theme variant.

Added dependency installation instructions for openSUSE.