feat: add suspend state and make all buttons related to state working
This commit is contained in:
@@ -4,7 +4,7 @@ import { type Prettify, type State } from "~/utils/types";
|
||||
export const AppContext = createContext<AppContextProps | undefined>(undefined);
|
||||
|
||||
export type AppContextProps = Prettify<
|
||||
State<"state", "off" | "boot" | "login" | "desktop"> &
|
||||
State<"state", "off" | "suspend" | "reboot" | "boot" | "login" | "desktop"> &
|
||||
State<"activeKitty", string> &
|
||||
State<"brightness", number> &
|
||||
State<"volume", number> & { screenWidth: number }
|
||||
|
||||
Reference in New Issue
Block a user