From 3ae09055f8a7d4b62b210c9a07cf965135bd1166 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 27 Mar 2023 12:16:06 +0200 Subject: update polybar config for mpd on thoncc --- .config/polybar/config.ini##template | 13 ++++++++++++- .config/polybar/config.superesc.ini | 11 ----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.config/polybar/config.ini##template b/.config/polybar/config.ini##template index daa4ecf..bb9c7a2 100644 --- a/.config/polybar/config.ini##template +++ b/.config/polybar/config.ini##template @@ -45,7 +45,7 @@ font-2 = "Noto Sans JP:pixelsize=8:weight=medium:size=0;2" font-3 = "Noto Sans KR:pixelsize=8:weight=medium:size=0;2" {% if yadm.hostname == "thoncc" %} -modules-left = time date rooster +modules-left = time date rooster mpd modules-center = battery1 battery2 brightness modules-right = wireless keyboard volume whoami {% else %} @@ -127,6 +127,17 @@ exec = ~/.local/share/bin/kbindicator interval = 3 label-font = 1 +[module/mpd] +type = internal/mpd +format-online = +format-offline = +format-stopped = +icon-play =  +icon-pause =  +label-song = %{T2}%artist%%{T-}: %title% +label-song-maxlen = 50 +label-song-ellipsis = true + {% include "config.{{ yadm.hostname }}.ini" %} ; vim:ft=dosini diff --git a/.config/polybar/config.superesc.ini b/.config/polybar/config.superesc.ini index c4d8bb2..3d60384 100644 --- a/.config/polybar/config.superesc.ini +++ b/.config/polybar/config.superesc.ini @@ -1,14 +1,3 @@ -[module/mpd] -type = internal/mpd -format-online = -format-offline = [mpd offline] -format-stopped = -icon-play =  -icon-pause =  -label-song = %{T2}%artist%%{T-}: %title% -label-song-maxlen = 50 -label-song-ellipsis = true - [module/wacomtouch] type = custom/script exec = ~/.local/share/bin/wacomtouch -- cgit v1.2.3