[module/mpd] type = internal/mpd ; mpd 在线 format-online = format-online-background = ${color.altbackground} format-online-padding = 1 ; mpd 离线 format-offline = format-offline-prefix = "  " format-offline-foreground = ${color.blue} format-offline-background = ${color.altbackground} label-offline = "mpd is offline..." label-offline-foreground = ${color.accent} label-offline-background = ${color.altbackground2} label-offline-padding = 2 ; 当前歌曲 label-song = %{A1:alacritty --config-file $HOME/.config/alacritty/mpc.yml -e ncmpcpp:}%artist% - %title%%{A} label-song-ellipsis = true label-song-foreground = ${color.accent} label-song-background = ${color.altbackground2} label-song-padding = 2 ; 歌曲时长 label-time = %elapsed%/%total% icon-random =  icon-repeat =  toggle-on-foreground = ${color.green} toggle-off-foreground = ${color.blue} icon-play =  icon-play-foreground = ${color.blue} icon-pause =  icon-pause-foreground = ${color.green} icon-stop =  icon-stop-foreground = ${color.red} icon-prev =  icon-prev-foreground = ${color.blue} icon-next =  icon-next-foreground = ${color.blue}