aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ssh/.config/systemd
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-10-08 23:39:58 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-10-08 23:39:58 -0500
commit5997f74da8b76f54005522d44902b240504f48da (patch)
treedfa0ca6eaa70cb1d47f8dd2378e004f19f1a4223 /ssh/.config/systemd
parentf97da8f36bc036155875409067599b472fe8c70b (diff)
fix(tmux): improve remote xdg-open command
Diffstat (limited to 'ssh/.config/systemd')
-rw-r--r--ssh/.config/systemd/user/xdg-open.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssh/.config/systemd/user/xdg-open.service b/ssh/.config/systemd/user/xdg-open.service
new file mode 100644
index 0000000..7113f44
--- /dev/null
+++ b/ssh/.config/systemd/user/xdg-open.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=xdg-open socket listener
+
+[Service]
+ExecStart=/usr/bin/socat UNIX-LISTEN:%t/xdg-open.socket,fork,umask=007 EXEC:"xargs xdg-open",nofork
+
+[Install]
+WantedBy=default.target