aboutsummaryrefslogtreecommitdiff
path: root/configs/polybar/modules/mpd.ini
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 19:48:36 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 19:48:36 -0800
commitbcf28f0a088411ec2fa956ad7a79b7287b5ca1eb (patch)
tree20c1be54815e55a48fbedfe6898a3f4d2afe3856 /configs/polybar/modules/mpd.ini
parentdesktop: configure GTK (diff)
downloadinfra-bcf28f0a088411ec2fa956ad7a79b7287b5ca1eb.tar.gz
home-manager: let's try to configure polybar
There's a few things missing (my binaries for the wifi and battery, at a minimum), but that's fine for now.
Diffstat (limited to '')
-rw-r--r--configs/polybar/modules/mpd.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/polybar/modules/mpd.ini b/configs/polybar/modules/mpd.ini
new file mode 100644
index 0000000..05f066d
--- /dev/null
+++ b/configs/polybar/modules/mpd.ini
@@ -0,0 +1,6 @@
+[module/mpd]
+type = internal/mpd
+socket = /var/run/user/1000/mpd/socket
+interval = 2
+label-song = %artist% / %title%
+format-online = <label-song>