diff options
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/types.ts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts new file mode 100644 index 0000000..9a44e51 --- /dev/null +++ b/src/utils/types.ts @@ -0,0 +1,32 @@ +import type AstalHyprland from "gi://AstalHyprland"; + +export type Address = `0x${string}`; + +export interface Client { + address: Address; + mapped: boolean; + hidden: boolean; + at: [number, number]; + size: [number, number]; + workspace: { + id: number; + name: string; + }; + floating: boolean; + pseudo: boolean; + monitor: number; + class: string; + title: string; + initialClass: string; + initialTitle: string; + pid: number; + xwayland: boolean; + pinned: boolean; + fullscreen: AstalHyprland.Fullscreen; + fullscreenClient: AstalHyprland.Fullscreen; + grouped: Address[]; + tags: string[]; + swallowing: string; + focusHistoryID: number; + inhibitingIdle: boolean; +} |