diff --git a/scripts/bin/handleScreenshot.ts b/scripts/bin/handleScreenshot.ts index 35edd9d..41903ae 100755 --- a/scripts/bin/handleScreenshot.ts +++ b/scripts/bin/handleScreenshot.ts @@ -48,7 +48,7 @@ import { getRegretevatorState } from "../lib/RegretevatorUtil"; */ -const windowcClassFriendyName: {[windowClass: string]: string} = { +const windowClassFriendyName: {[windowClass: string]: string} = { "steam_app_1671210": "Deltarune", "org.vinegarhq.Sober": "Roblox", "steam_app_1690940": "Deltarune", // demo @@ -61,7 +61,7 @@ async function getWMClass(): Promise { async function getFilename(wmClass?: string): Promise { const _d = new Date(); - let ic = (wmClass && windowcClassFriendyName[wmClass]) || wmClass || "Hyprland"; + let ic = (wmClass && windowClassFriendyName[wmClass]) || wmClass || "Hyprland"; const isRoblox = wmClass === "org.vinegarhq.Sober"; if (isRoblox) {ic = "Roblox"; }; const regretevatorState = isRoblox ? getRegretevatorState() : null;