diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-17 11:02:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-17 11:02:36 +0200 |
| commit | 3bd3288e90bf84d18f90f7709f98d0d452a6ae38 (patch) | |
| tree | 2ed4001a51b7c720f325cc2d7c84332c5835b301 /hyprsunset_qt/__main__.py | |
| parent | 869459e79b296f9e6900f9439b95f817ac836f1f (diff) | |
| download | hyprsunset-qt-3bd3288e90bf84d18f90f7709f98d0d452a6ae38.tar.gz hyprsunset-qt-3bd3288e90bf84d18f90f7709f98d0d452a6ae38.zip | |
feat: PyQt6 main window and entry point
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'hyprsunset_qt/__main__.py')
| -rw-r--r-- | hyprsunset_qt/__main__.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/hyprsunset_qt/__main__.py b/hyprsunset_qt/__main__.py new file mode 100644 index 0000000..31810ae --- /dev/null +++ b/hyprsunset_qt/__main__.py @@ -0,0 +1,19 @@ +"""Entry point for hyprsunset-qt.""" + +import sys + +from PyQt6.QtWidgets import QApplication + +from .ui import MainWindow + + +def main() -> int: + app = QApplication(sys.argv) + win = MainWindow() + win.resize(640, 400) + win.show() + return app.exec() + + +if __name__ == "__main__": + sys.exit(main()) |
