feat: add shell commands

Also switch to classes
This commit is contained in:
2 * r + 2 * t
2025-06-09 22:15:03 +10:00
parent b900c16c53
commit 52dfdb97ec
14 changed files with 139 additions and 36 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ def get_scheme_colours() -> dict[str, str]:
if scheme_colours is None:
scheme_colours = {
k.strip(): v.strip() for k, v in (line.split(" ") for line in get_scheme_path().read_text().split("\n"))
k.strip(): v.strip() for k, v in (line.split(" ") for line in get_scheme_path().read_text().splitlines())
}
return scheme_colours