2023-07-06 17:19:01 +08:00
|
|
|
[module/mpd]
|
|
|
|
type = internal/mpd
|
|
|
|
|
2023-07-11 15:29:36 +08:00
|
|
|
; mpd 在线
|
2023-07-06 17:19:01 +08:00
|
|
|
format-online = <icon-prev> <toggle> <icon-next> <label-song>
|
2023-07-11 15:29:36 +08:00
|
|
|
format-online-background = ${color.altbackground}
|
|
|
|
format-online-padding = 1
|
2023-07-06 17:19:01 +08:00
|
|
|
|
|
|
|
|
2023-07-11 15:29:36 +08:00
|
|
|
; mpd 离线
|
2023-07-06 17:19:01 +08:00
|
|
|
format-offline = <label-offline>
|
2023-07-11 15:29:36 +08:00
|
|
|
format-offline-prefix = " "
|
|
|
|
format-offline-foreground = ${color.blue}
|
|
|
|
format-offline-background = ${color.altbackground}
|
2023-07-06 17:19:01 +08:00
|
|
|
|
|
|
|
label-offline = "mpd is offline..."
|
2023-07-11 15:29:36 +08:00
|
|
|
label-offline-foreground = ${color.accent}
|
|
|
|
label-offline-background = ${color.altbackground2}
|
|
|
|
label-offline-padding = 2
|
2023-07-06 17:19:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
; 当前歌曲
|
2023-07-11 15:29:36 +08:00
|
|
|
label-song = %{A1:alacritty --config-file $HOME/.config/alacritty/mpc.yml -e ncmpcpp:}%artist% - %title%%{A}
|
2023-07-06 17:19:01 +08:00
|
|
|
label-song-ellipsis = true
|
2023-07-11 15:29:36 +08:00
|
|
|
label-song-foreground = ${color.accent}
|
|
|
|
label-song-background = ${color.altbackground2}
|
|
|
|
label-song-padding = 2
|
|
|
|
|
2023-07-06 17:19:01 +08:00
|
|
|
|
|
|
|
; 歌曲时长
|
2023-07-11 15:29:36 +08:00
|
|
|
label-time = %elapsed%/%total%
|
2023-07-06 17:19:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
2023-07-11 15:29:36 +08:00
|
|
|
|
|
|
|
|