-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.py
More file actions
26 lines (18 loc) · 621 Bytes
/
Copy pathrun.py
File metadata and controls
26 lines (18 loc) · 621 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python3
"""Scottina entrypoint. Run as root (needs /dev/fb0, evdev, nmcli, arp-scan):
sudo python3 /opt/kilodash/run.py
Tap tiles to open tools, Back to return home, ESC/q on a USB keyboard to quit.
(Paths and module names keep the historical working name `kilodash`.)
"""
import sys
from kilodash.app import App
from kilodash.screens import SCREENS
def main():
try:
app = App(SCREENS)
except Exception as e: # noqa: BLE001
print(f"scottina: failed to start: {e}", file=sys.stderr)
raise
app.run()
if __name__ == "__main__":
main()