theme switch

This commit is contained in:
BarsTiger
2022-05-29 15:36:08 +03:00
parent 8bc4397805
commit 41523cd1c5
6 changed files with 330 additions and 291 deletions

View File

@@ -36,7 +36,9 @@ MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
ui.pagesWidget.setCurrentIndex(0)
GlobalBlur(MainWindow.winId(), acrylic=True)
if 'acrylic' in Settings.get("theme"):
GlobalBlur(MainWindow.winId(), acrylic=True)
# Trying to get settings or set default
try: