diff --git a/polybar.org b/polybar.org index e7e8363..641997f 100644 --- a/polybar.org +++ b/polybar.org @@ -62,7 +62,7 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 modules-left = i3 xwindow modules-center = -modules-right = mpd pulseaudio tunnel_homelab tunnel_esrf dunst cursor unread_mail calendar timer battery date tray +modules-right = pipewire music tunnel_homelab tunnel_esrf dunst lockscreen cursor unread_mail calendar timer battery date tray # wm-restack = i3 #+END_SRC @@ -128,42 +128,6 @@ label-urgent-background = ${colors.red} label-urgent-padding = 1 #+END_SRC -* Music using MPD -#+BEGIN_SRC conf -[module/mpd] -type = internal/mpd -format-online = %{A1:$TERMINAL -e tmux new-session -A -s ncmpcpp ncmpcpp:}%{A} - -format-online-spacing = 0 -format-online-padding = 0 - -label-offline = mpd is offline -format-offline = -format-offline-foreground = #777 - -label-song = %artist% - %title% -label-song-maxlen = 30 -label-song-ellipsis = true - -icon-prev = 󰒮 -icon-stop =  -icon-play =  -icon-pause =  -icon-next = 󰒭 -icon-random =  -icon-repeat =  - -# Used to display the state of random/repeat/repeatone/single -# Only applies if is used -toggle-on-foreground = ${colors.fg} -toggle-off-foreground = ${colors.gray} - -bar-progress-width = 15 -bar-progress-indicator = | -bar-progress-fill = ─ -bar-progress-empty = ─ -#+END_SRC - * Backlight level #+BEGIN_SRC conf [module/xbacklight] @@ -212,39 +176,536 @@ time-alt =  %H:%M:%S label = %date% %time% #+END_SRC +* Music +#+BEGIN_SRC conf +[module/music] +type = custom/script + +format-underline = ${colors.bg} +format =