From 7deece04759c0efd2cca73d4af96479b343c2ae4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 20 Oct 2026 10:11:42 +0200 Subject: Add a .desktop entry, linked by install.sh Exec=sb-builder relies on ~/bin being on the session PATH, as for the other launchers there. setDesktopFileName lets Wayland compositors match the window to the entry. Co-Authored-By: Claude Opus 5.5 --- sb_builder/__main__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sb_builder') diff --git a/sb_builder/__main__.py b/sb_builder/__main__.py index ae8e89a..7571bd6 100644 --- a/sb_builder/__main__.py +++ b/sb_builder/__main__.py @@ -31,6 +31,7 @@ def main(): sys.excepthook = traceback.print_exception app = QApplication(sys.argv) app.setApplicationName("sb-builder") + app.setDesktopFileName("sb-builder") # Wayland: match sb-builder.desktop cfg, err = config.load() w = MainWindow(cfg, Remote(cfg)) w.resize(1100, 700) -- cgit v1.2.3