import tkinter as tk
import sys, os
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from core.desktop import Desktop

root = tk.Tk()
root.geometry("800x600")
settings = {"theme": "GrimOS"}
desktop = Desktop(root, settings)

root.update_idletasks()
print("Root geometry:", root.winfo_geometry())
print("Desktop Frame:", desktop.desktop_frame.winfo_geometry())
print("Taskbar:", desktop.taskbar.winfo_geometry())
print("Taskbar Y pos:", desktop.taskbar.winfo_y())
