Skip to content

Commit

Permalink
polybar: simplify mpris format
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Apr 28, 2024
1 parent 7e38c14 commit 0ed3d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/services/polybar/scripts/mpris.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let
zsc = "${pkgs.zscroll}/bin/zscroll";

format = ''
{{ artist }} - {{ title }} [from ‟{{ album }}”] - Duration: {{ duration(mpris:length) }}
{{ artist }} - {{ title }} [{{ duration(mpris:length) }}]
'';

metadata = pkgs.writeShellScriptBin "spotify_metadata" ''
Expand Down

0 comments on commit 0ed3d66

Please sign in to comment.