From 1e61d1c538ef3383480b33b9155fc3ea779d90d3 Mon Sep 17 00:00:00 2001 From: Maze Date: Sun, 7 Jan 2024 14:34:49 +0100 Subject: [PATCH] Revet commit fd1fa516cb29c4fe05a3e020f75b0337599abaa0 Readding -name dev --- autoreload.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autoreload.py b/autoreload.py index d7a7ba97..8dfc9805 100755 --- a/autoreload.py +++ b/autoreload.py @@ -3,7 +3,9 @@ Automatically rebuild and restart the application when source files change. CONFIG+=dev will be passed to qmake, see moment.pro. -Arguments will be passed to the app, see `moment --help`. +The application will be launched with `-name dev`, which sets the first +part of the WM_CLASS as returned by xprop on Linux. +Any other arguments will be passed to the app, see `moment --help`. Use `pip3 install --user -U requirements-dev.txt` before running this.""" @@ -56,7 +58,7 @@ def run_app(args=sys.argv[1:]) -> None: with suppress(KeyboardInterrupt): cmd(QMAKE_CMD, "moment.pro", "CONFIG+=dev") cmd("make") - cmd("./moment", *args) + cmd("./moment", "-name", "dev", *args) if __name__ == "__main__":