23 lines
529 B
Desktop File
23 lines
529 B
Desktop File
[Unit]
|
|
Description=Zed Bridge — open remote files locally in Zed editor
|
|
Documentation=https://github.com/scottp/zed-bridge
|
|
After=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=%h/.local/bin/zed-bridge
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
# Pass through the display environment so Zed can open windows
|
|
Environment=DISPLAY=:0
|
|
Environment=WAYLAND_DISPLAY=wayland-0
|
|
|
|
# Log goes to journald — view with:
|
|
# journalctl --user -u zed-bridge -f
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=default.target
|