This commit is contained in:
2026-03-27 23:14:29 +02:00
parent 08fd0ea72c
commit 15bc9617a4
46 changed files with 868 additions and 587 deletions

View File

@@ -1,5 +1,6 @@
import { existsSync, readFileSync } from "fs";
// removed in tuxstrap v2
const STATE_FILE_PATH = "/tmp/.regretevator_state";
type DeadUnknownState = { state: "DEAD" | "UNKNOWN" };
@@ -14,6 +15,8 @@ export type RegretevatorState = DeadUnknownState | InElevatorState;
/*
when using dotfilesfont, `ý` is replaced with the regretevator icon
➜ config git:(main) ✗ cat /tmp/.regretevator_state
{"text":"ý 82","tooltip":"On Floor 82"}
➜ config git:(main) ✗ cat /tmp/.regretevator_state