Commit Graph

15 Commits

Author SHA1 Message Date
Harvey Tindall 315b3df656
add list command for debug
responds with the current list of players and some info, to be used for debugging
purposes
2020-08-27 20:26:01 +01:00
Harvey Tindall f9b38e5d1d
add position arg to readme 2020-08-26 22:19:20 +01:00
Harvey Tindall 8177e5dec9
optionally display track position
with the --position flag, the position is grabbed every second and
outputted. Nothing else is refreshed.
2020-08-26 22:10:36 +01:00
Harvey Tindall 08ebaa5525
shrink binary 2020-08-25 14:51:32 +01:00
Harvey Tindall 25f40dc9e0
ignore playerctld
playerctld displays and controls other players, so including it is
pointless.
2020-08-25 14:40:56 +01:00
Harvey Tindall 623adf487e
display browser name in tooltip
reads /proc/<pid>/cmdline directly instead of using a library.
2020-08-23 16:25:27 +01:00
Harvey Tindall 840130680e
get rid of json annotation
it made the comments look ugly.
2020-08-22 19:17:48 +01:00
Harvey Tindall a0636d7390
center gif 2020-08-22 19:03:36 +01:00
Harvey Tindall 74015e43a3
remote control via unix sockets
waybar-mpris --send will send commands to a currently running
waybar-mpris instance. Players can be switched between and controlled
individually. Also added gifs, more stuff to README.
2020-08-22 19:01:51 +01:00
Harvey Tindall b49765a848
mention go get 2020-08-22 15:43:18 +01:00
Harvey Tindall 07096ae6ba
remove main 2020-08-22 15:41:41 +01:00
Harvey Tindall 54dcac02e6
Add flags, executable and improve README.md 2020-08-22 15:40:24 +01:00
Harvey Tindall 5020e1c929
fix halt when player is removed
rewritten without goroutines or checking if processes exist and it seems
to work much better now.
2020-08-22 14:39:23 +01:00
Harvey Tindall 3cf3f910ca
add players as detected, switch to currently playing player on state
change.
2020-08-21 15:44:59 +01:00
Harvey Tindall 461d87b8c9
first 2020-08-21 14:54:32 +01:00