Polybar: switch to newer zscroll version
This commit is contained in:
parent
42ba1c1e9f
commit
0bfff68f26
1 changed files with 4 additions and 4 deletions
|
|
@ -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 }:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue