Polybar: fix error on missing player
This commit is contained in:
parent
f20886eea2
commit
3f06605e9c
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ let
|
||||||
for i in {1..10}; do ${dunstctl} history-pop; done
|
for i in {1..10}; do ${dunstctl} history-pop; done
|
||||||
'';
|
'';
|
||||||
playerStatusSrc = pkgs.writeShellScript "playerStatusSrc" ''
|
playerStatusSrc = pkgs.writeShellScript "playerStatusSrc" ''
|
||||||
${playerCtl} -f '{{title}} - {{artist}}' metadata
|
${playerCtl} -f '{{title}} - {{artist}}' metadata || true
|
||||||
'';
|
'';
|
||||||
playerStatus = pkgs.writeShellScript "playerStatus" ''
|
playerStatus = pkgs.writeShellScript "playerStatus" ''
|
||||||
${zscroll} -l 20 -M '${playerCtl} status' -n -s 1 \
|
${zscroll} -l 20 -M '${playerCtl} status' -n -s 1 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue