Polybar: switch to newer zscroll version

This commit is contained in:
Filippo Berto 2023-06-05 14:23:29 +02:00
parent 42ba1c1e9f
commit 0bfff68f26
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -38,10 +38,10 @@ let
${playerCtl} -f '{{title}} - {{artist}}' metadata || true ${playerCtl} -f '{{title}} - {{artist}}' metadata || true
''; '';
playerStatus = pkgs.writeShellScript "playerStatus" '' playerStatus = pkgs.writeShellScript "playerStatus" ''
${zscroll} -l 20 -M ${playerStatusBasic} -n -s 1 \ ${zscroll} -l 25 -M ${playerStatusBasic} \
-m "Playing" -b ' ' \ -m "Playing" "-b ' ' -s 1" \
-m "Paused" -b ' ' \ -m "Paused" "-b ' ' -s 0" \
-u ${playerStatusSrc} & -u true ${playerStatusSrc} &
wait wait
''; '';
confirm_command = { cmd, title ? null, text ? null, image ? null }: confirm_command = { cmd, title ? null, text ? null, image ? null }: