diff options
author | delthas <delthas@dille.cc> | 2022-11-23 20:06:42 +0100 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-11-23 20:11:41 +0100 |
commit | 5ff0f2c63b96623c81657a8f0e2dbdc537edf103 (patch) | |
tree | 8a9980f2236491cb73debe40aea98b37bead045e /go.mod | |
parent | Add 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.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |