Ensure switch toiggle the right choice
In this days i have tried to strip down this issue: if an user example want debranding and then interrupt the pamac remove; the gnome-layout show the trigged as off also if the branding is still present (https://gitlab.manjaro.org/Chrysostomus/gnome-layout-switcher/blob/hello/bin/layoutswitcherlib/layoutsbox.py#L504)
i have tried to do another cycle of if statement with a pacman -Qi
argument but not work because i can't see the state ( 0 or 1 ) of the pacman result. Is there another way to ensure this buttons ? This is not only the trigger whit work in this wrong way..