diff --git a/main.py b/main.py index 221bfe3..a328fe0 100644 --- a/main.py +++ b/main.py @@ -3,6 +3,7 @@ from copy import deepcopy import PySimpleGUI as sg from tinydb import TinyDB, Query +from logo_source import COMPUTER_KEEPER_LOGO TABLE=None WINDOW=None @@ -72,7 +73,7 @@ def main(): db= TinyDB("./db.json") computer = format_table(db.all()) # Create the window - window = sg.Window('Computer Keeper', layout, finalize=True) + window = sg.Window('Computer Keeper', layout, finalize=True, use_custom_titlebar=True, titlebar_icon=COMPUTER_KEEPER_LOGO) WINDOW=window window["table"].update(computer) table = window['table'].Widget