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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user