Shorten polybar playerctl bar

This commit is contained in:
Filippo Berto 2023-01-11 08:35:20 +01:00
parent 3a7596126a
commit 3b754dee00
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -24,7 +24,7 @@ let
for i in {1..10}; do ${dunstctl} history-pop; done
'';
playerStatus =
"${playerCtl} -f '{{emoji(status)}} {{title}} - {{artist}}' metadata | ${head} -c 60";
"${playerCtl} -f '{{emoji(status)}} {{title}} - {{artist}}' metadata | ${head} -c 50";
confirm_command = { cmd, title ? null, text ? null, image ? null }:
lib.concatStringsSep " "
[