From 2293da9789c0bddecd230b1b5794a6e790bd8588 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 24 Jan 2025 19:38:16 +1100 Subject: launcher: windows mode Also files mode icons --- src/utils/types.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/utils/types.ts (limited to 'src/utils/types.ts') 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; +} -- cgit v1.2.3-freya