     }
     
 }
+
+func isFullScreen() -> Bool? {
+    guard let windowInfoList = CGWindowListCopyWindowInfo(.optionOnScreenOnly, kCGNullWindowID) as? [[String: Any]] else {
+        return nil
+    }
+    for info in windowInfoList {
+        if info[kCGWindowOwnerName as String] as? String == "Window Server",
+            info[kCGWindowName as String] as? String == "Menubar" {
+            return false
+        }
+    }
+    return true
+}

            $0.isOpaque = false
            $0.ignoresMouseEvents = true
            $0.level = .floating
        }
        
        window?.contentView?.addSubview(lyricsView)

    var currentLineIndex: Int?
    
    var defaultObservations: [UserDefaults.KeyValueObservation] = []
    var notifications: [NSObjectProtocol] = []
    
    override func windowDidLoad() {
        window?.do {
