summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2022-11-23 20:06:42 +0100
committerdelthas <delthas@dille.cc>2022-11-23 20:11:41 +0100
commit5ff0f2c63b96623c81657a8f0e2dbdc537edf103 (patch)
tree8a9980f2236491cb73debe40aea98b37bead045e /go.mod
parentAdd documentation for /MOTD (diff)
Implement /NP
This queries the system for the current song being played. This uses DBus & MPRIS/xesam. The priority is any player in playing state > any player in paused state. Only players in the playing or paused state, with a valid song title are considered.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 2c304cd..8cfff1b 100644
--- a/go.mod
+++ b/go.mod
@@ -6,6 +6,7 @@ require (
git.sr.ht/~emersion/go-scfg v0.0.0-20201019143924-142a8aa629fc
github.com/delthas/go-localeinfo v0.0.0-20221115102303-5a7785a1acc1
github.com/gdamore/tcell/v2 v2.5.4-0.20221017224006-ede1dd5ee680
+ github.com/godbus/dbus/v5 v5.1.0
github.com/mattn/go-runewidth v0.0.14
golang.org/x/net v0.0.0-20220722155237-a158d28d115b
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211