aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorHarvey Tindall <hrfee@protonmail.ch>2020-09-28 23:48:51 +0100
committerHarvey Tindall <hrfee@protonmail.ch>2020-09-28 23:48:51 +0100
commit78ce37db9f13c5439b30663a3c54b283bd3f539c (patch)
tree7bdde426eb8a14d7456f4dfd3a2fefdc84e642f9 /go.mod
parentb97a9505828d4fe030851f76f4a0bd0fcc7ee76d (diff)
downloadwaybar-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.mod4
1 files changed, 4 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 272b53e..42086c6 100644
--- a/go.mod
+++ b/go.mod
@@ -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
)