diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-24 19:38:16 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-24 19:38:16 +1100 |
| commit | 2293da9789c0bddecd230b1b5794a6e790bd8588 (patch) | |
| tree | 06fe6476843f091467c7ed93212e300afdf05855 /src/utils/types.ts | |
| parent | don't force adwaita icon theme (diff) | |
| download | caelestia-shell-2293da9789c0bddecd230b1b5794a6e790bd8588.tar.gz caelestia-shell-2293da9789c0bddecd230b1b5794a6e790bd8588.tar.bz2 caelestia-shell-2293da9789c0bddecd230b1b5794a6e790bd8588.zip | |
launcher: windows mode
Also files mode icons
Diffstat (limited to 'src/utils/types.ts')
| -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; +} |