diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2026-01-02 15:28:27 +0530 |
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2026-01-02 15:28:27 +0530 |
| commit | d8c31463e2a5790c13297f7cf3796f45211cbf6c (patch) | |
| tree | 05676ee04c1e6c8643ba80a30db8ef8b17ef1119 /.config/polybar/modules.ini | |
| parent | aa2af37f3fb19c72fadb6f3d3aaea4423c299344 (diff) | |
Diffstat (limited to '.config/polybar/modules.ini')
| -rw-r--r-- | .config/polybar/modules.ini | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 57b35cf..6e61e64 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -16,6 +16,26 @@ label = " %title:0:60:...%" label-foreground = ${colors.xwindow-fg} label-background = ${colors.xwindow-bg} +[module/mpd] +type = internal/mpd + +host = 127.0.0.1 +port = 6600 + +format-paused = %{T3} %{T-} <label-time> +format-paused-background = ${colors.mpd-bg} +format-paused-foreground = ${colors.mpd-fg} + +format-stopped = %{T3} %{T-} +format-stopped-background = ${colors.mpd-bg} +format-stopped-foreground = ${colors.mpd-fg} + +format-playing = %{T3} %{T-}<label-time> +format-playing-background = ${colors.mpd-bg} +format-playing-foreground = ${colors.mpd-fg} + +label-time = "%elapsed% / %total% " + [module/storage-root] type = internal/fs interval = 25 |