Tema clar/fosc segons el sistema i títol de finestra
This commit is contained in:
@@ -9,11 +9,14 @@ from PySide6.QtWidgets import QApplication, QMessageBox
|
||||
from .config import load_config
|
||||
from .paths import config_file, data_root
|
||||
from .ui.main_window import MainWindow
|
||||
from .ui.theme import apply_theme, watch_system_theme
|
||||
|
||||
|
||||
def main() -> int:
|
||||
app = QApplication(sys.argv)
|
||||
app.setApplicationName("jlauncher")
|
||||
apply_theme(app)
|
||||
watch_system_theme(app)
|
||||
|
||||
cfg_path = config_file()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user