feat(waybar): implement all dummy widgets

This commit is contained in:
Pihkaal
2024-07-31 15:13:53 +02:00
parent 1dcae0c20a
commit 0046e5dd82
28 changed files with 396 additions and 84 deletions

View File

@@ -1,9 +1,11 @@
import { createContext } from "react";
import { type Prettify, type State } from "~/utils/types";
export const AppContext = createContext<
| {
activeKitty: string;
setActiveKitty: (value: string) => void;
}
| Prettify<
State<"activeKitty", string> &
State<"brightness", number> &
State<"volume", number>
>
| undefined
>(undefined);