From e20deb8356c470fe1ff353272b6ad332d407303b Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Sun, 22 Mar 2026 14:44:30 +0100 Subject: [PATCH] Minor formatting changes --- gui.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gui.py b/gui.py index b90b878..6135db6 100644 --- a/gui.py +++ b/gui.py @@ -1659,7 +1659,9 @@ class SettingsPanel: checkboxes_frame, variable=self._vars["tray_notifications"], command=lambda: setattr( - self._settings, "tray_notifications", bool(self._vars["tray_notifications"].get()) + self._settings, + "tray_notifications", + bool(self._vars["tray_notifications"].get()), ), ).grid(column=1, row=irow, sticky="w") ttk.Label( @@ -1879,7 +1881,9 @@ class SettingsPanel: return autostart_folder / f"{self.AUTOSTART_NAME}.desktop" def _get_mac_autostart_filepath(self) -> Path: - return Path(Path.home(), f"Library/LaunchAgents/com.devilxd.{self.AUTOSTART_NAME.lower()}.plist") + return Path( + Path.home(), f"Library/LaunchAgents/com.devilxd.{self.AUTOSTART_NAME.lower()}.plist" + ) def _query_autostart(self) -> bool: if sys.platform == "win32": @@ -2487,7 +2491,6 @@ class GUIManager: muted = "#404040" accent = "#0a84ff" - # Setting theme for macOS if sys.platform == "darwin": app = AppKit.NSApplication.sharedApplication()