summaryrefslogtreecommitdiffstats
path: root/hyprsunset_qt/__main__.py
blob: cebe1a685f54ba796096d246bf0d4ab23d0ed4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
# by the Free Software Foundation.
"""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())