dotfiles/.config/systemd/user/opener@.service

12 lines
357 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Open URL in your local web browser from the SSH-connected remote environment.
2024-03-16 09:51:42 +01:00
After=graphical-session.target
[Service]
Restart=always
Environment=OPENER_CONF=%t/opener.%i.conf
ExecStart=/bin/sh -c 'echo "address: %t/opener.%i.sock" > $OPENER_CONF && exec %h/bin/opener --config $OPENER_CONF'
[Install]
WantedBy=graphical-session.target