diff --git a/printer.py b/printer.py index bbae47c..7032872 100644 --- a/printer.py +++ b/printer.py @@ -104,5 +104,4 @@ class ReceiptPrinter(CupsPrinter): with self.set(align="center", double_height=True, double_width=True): p.textln(text) -#p = ReceiptPrinter("EPSON-TM-m30", profile="default") -p = ReceiptPrinter("EPSON-TM-m30-remote", profile="default") +p = ReceiptPrinter("EPSON-TM-m30", profile="default") diff --git a/shell.nix b/shell.nix index 6588b4a..a960ebf 100644 --- a/shell.nix +++ b/shell.nix @@ -7,7 +7,6 @@ let python-escpos = pythonPrev.python-escpos.overrideAttrs (oldAttrs: { version = "0.0.0+unstable-2024-10-10"; src = oldAttrs.src.override { - tag = null; rev = "7d42f117161362e99c56431ebeb2ef1e9c91c495"; hash = "sha256-Wl7naHbsYfN+VYASQXyWrLNF953nwoM0ugiutE2jYNI="; }; diff --git a/todo.py b/todo.py deleted file mode 100644 index 35005fd..0000000 --- a/todo.py +++ /dev/null @@ -1,11 +0,0 @@ -from printer import p -from datetime import datetime - -with p: - p.title(" TODO List ", size=4) - p.subtitle(datetime.today().strftime("%Y-%m-%d")) - p.ln() - - with open("/home/infinidoge/TODO.txt", "r") as f: - for line in f.readlines(): - p.textln(line.replace("- ", "[ ] ").rstrip())