From 1787f6d9af77f21e276af8f015689cb0d00f2c9a Mon Sep 17 00:00:00 2001 From: SirBlobby Date: Thu, 24 Sep 2026 11:46:12 -0400 Subject: [PATCH] Autostart the NetBird tray app --- default/hypr/autostart.lua | 1 + docs/packages.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/default/hypr/autostart.lua b/default/hypr/autostart.lua index dcba195..1bdceff 100644 --- a/default/hypr/autostart.lua +++ b/default/hypr/autostart.lua @@ -7,6 +7,7 @@ hl.on("hyprland.start", function() hl.exec_cmd("blob-powerprofiles-init") hl.exec_cmd(o.launch("blob-hypr-monitor-watch")) hl.exec_cmd(o.launch("udiskie --automount --no-notify --no-tray")) + hl.exec_cmd("blob-cmd-present netbird-ui && " .. o.launch("netbird-ui")) -- Run post-boot hooks after startup config has loaded. hl.exec_cmd("sleep 2 && blob-hook post-boot") diff --git a/docs/packages.md b/docs/packages.md index 1e5019e..5af5ac3 100644 --- a/docs/packages.md +++ b/docs/packages.md @@ -171,7 +171,8 @@ ships a templated `netbird@.service` whose socket lives at `/var/run/netbird/.sock`, while the `netbird` CLI and the tray app look for `/var/run/netbird.sock`. `install.sh` adds a drop-in that moves the socket to the default path and enables `netbird@main.service`, so -`netbird up` and the tray app work with no extra flags. The service starts on +`netbird up` and the tray app work with no extra flags. The tray app starts +with the session when it is installed. The service starts on the next boot, or now with `sudo systemctl start netbird@main`. `install.sh` makes them the default for their file types through `xdg-mime`,