Autostart the NetBird tray app
This commit is contained in:
1 parent
dacc3599f3
commit
1787f6d9af
2 files changed
+3
-1
No files matched your search
@@ -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")
|
||||
|
||||
+2
-1
@@ -171,7 +171,8 @@ ships a templated `netbird@.service` whose socket lives at
|
||||
`/var/run/netbird/<instance>.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`,
|
||||
|
||||
Reference in new issue
Block a user