aboutsummaryrefslogtreecommitdiffstats
path: root/sb_builder
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-20 10:11:42 +0200
committerDanilo M. <danix@danix.xyz>2026-10-20 10:11:42 +0200
commit7deece04759c0efd2cca73d4af96479b343c2ae4 (patch)
tree672d95cfa285b38ec4aaa67cf752039fd64755fd /sb_builder
parentcfa751fc97893276abfa7b518265835d788af374 (diff)
downloadsb-builder-7deece04759c0efd2cca73d4af96479b343c2ae4.tar.gz
sb-builder-7deece04759c0efd2cca73d4af96479b343c2ae4.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'sb_builder')
-rw-r--r--sb_builder/__main__.py1
1 files changed, 1 insertions, 0 deletions
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)