Fix: An issue that would cause Matugen colors to not apply. (#929)

* Eslint updates

* linter fixes

* Type fixes

* More type fixes

* Fix isvis

* More type fixes

* Type Fixes

* Consolidate logic to manage options

* Linter fixes

* Package lock update

* Update configs

* Version checker

* Debug pipeline

* Package lock update

* Update ci

* Strict check

* Revert ci

* Eslint

* Remove rule since it causes issues in CI

* Actual matugen fix
This commit is contained in:
Jas Singh
2025-05-11 23:01:55 -07:00
committed by GitHub
parent 0c82ce9704
commit 2bb1449fb6
275 changed files with 4363 additions and 2505 deletions

View File

@@ -2,7 +2,7 @@ import { bind } from 'astal';
import { Gtk } from 'astal/gtk3';
import AstalPowerProfiles from 'gi://AstalPowerProfiles?version=0.1';
import icons from 'src/lib/icons/icons';
import { ProfileType } from 'src/lib/types/powerprofiles';
import { ProfileType } from 'src/lib/types/powerprofiles.types';
import { isPrimaryClick } from 'src/lib/utils';
const powerProfilesService = AstalPowerProfiles.get_default();
@@ -18,7 +18,8 @@ export const PowerProfiles = (): JSX.Element => {
return (
<button
className={bind(powerProfilesService, 'activeProfile').as(
(active) => `power-profile-item ${active === powerProfile.profile ? 'active' : ''}`,
(active) =>
`power-profile-item ${active === powerProfile.profile ? 'active' : ''}`,
)}
onClick={(_, event) => {
if (isPrimaryClick(event)) {