diff options
author | Harvey Tindall <hrfee@protonmail.ch> | 2020-09-28 23:48:51 +0100 |
---|---|---|
committer | Harvey Tindall <hrfee@protonmail.ch> | 2020-09-28 23:48:51 +0100 |
commit | 78ce37db9f13c5439b30663a3c54b283bd3f539c (patch) | |
tree | 7bdde426eb8a14d7456f4dfd3a2fefdc84e642f9 /go.mod | |
parent | b97a9505828d4fe030851f76f4a0bd0fcc7ee76d (diff) | |
download | waybar-mpris-78ce37db9f13c5439b30663a3c54b283bd3f539c.tar.gz waybar-mpris-78ce37db9f13c5439b30663a3c54b283bd3f539c.zip |
Run multiple instances by attaching to original
Fixes #1. When another instance is detected, a command is sent over the
socket for the original to write to stdout and to a temporary file, which is then
tailed by the new instance. Can be overridden with --replace.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,5 +4,9 @@ go 1.15 require ( github.com/godbus/dbus/v5 v5.0.3 + github.com/hpcloud/tail v1.0.0 github.com/spf13/pflag v1.0.5 + golang.org/x/sys v0.0.0-20200928205150-006507a75852 // indirect + gopkg.in/fsnotify.v1 v1.4.7 // indirect + gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect ) |