diff --git a/Drawers/Exclusions.qml b/Drawers/Exclusions.qml index da31911..a2bc923 100644 --- a/Drawers/Exclusions.qml +++ b/Drawers/Exclusions.qml @@ -43,13 +43,6 @@ Scope { hasBar: root.geometry.barOnBottom } - Timer { - interval: 5000 - running: true - - onTriggered: console.log("top height:", top.exclusiveZone, "left width:", left.exclusiveZone, "right width:", right.exclusiveZone, "bottom height:", bottom.exclusiveZone) - } - component ExclusionZone: CustomWindow { property bool hasBar diff --git a/Modules/Bar/Components/Tray/TrayItem.qml b/Modules/Bar/Components/Tray/TrayItem.qml index 6faf170..453bef4 100644 --- a/Modules/Bar/Components/Tray/TrayItem.qml +++ b/Modules/Bar/Components/Tray/TrayItem.qml @@ -79,6 +79,7 @@ Item { anchors.centerIn: parent antialiasing: true + backer.retainWhileLoading: true color: root.current && !Config.bar.tray.showOnHover ? Colors.palette.m3onPrimary : Colors.palette.m3onSurface implicitSize: Config.bar.tray.trayIconSize * root.dpr layer.enabled: Config.bar.tray.recolorIcons diff --git a/cli/src/zshell/subcommands/shell.py b/cli/src/zshell/subcommands/shell.py index 27af89b..30bd175 100644 --- a/cli/src/zshell/subcommands/shell.py +++ b/cli/src/zshell/subcommands/shell.py @@ -1,3 +1,4 @@ +import os import subprocess import sys import time @@ -8,6 +9,15 @@ args = ["qs", "-c", "zshell"] app = typer.Typer() +qt_logging_rules = ( + "qt.qml.warning=false;" + "qt.qpa.wayland.*=false;" + "scene=false;" + "quickshell.service.sni.watcher=false;" + "default.warning=false;" + "default.info=false" +) + @app.command() def kill(): @@ -19,8 +29,13 @@ def kill(): def start_instance(no_daemon: bool = False) -> None: + env = os.environ.copy() + env["QT_LOGGING_RULES"] = qt_logging_rules + result = subprocess.run( - args + ["-n"] + ([] if no_daemon else ["-d"]), capture_output=True + args + ["-n"] + ([] if no_daemon else ["-d"]), + capture_output=True, + env=env, ) stdout = result.stdout.decode().strip() if stdout and "already running" in stdout.lower():