From 0bfff68f2624c28c5b393868487376cfb635b7e2 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 5 Jun 2023 14:23:29 +0200 Subject: [PATCH] Polybar: switch to newer zscroll version --- hm_modules/polybar.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hm_modules/polybar.nix b/hm_modules/polybar.nix index 39021a4..e2904e2 100644 --- a/hm_modules/polybar.nix +++ b/hm_modules/polybar.nix @@ -38,10 +38,10 @@ let ${playerCtl} -f '{{title}} - {{artist}}' metadata || true ''; playerStatus = pkgs.writeShellScript "playerStatus" '' - ${zscroll} -l 20 -M ${playerStatusBasic} -n -s 1 \ - -m "Playing" -b '▶ ' \ - -m "Paused" -b '⏸ ' \ - -u ${playerStatusSrc} & + ${zscroll} -l 25 -M ${playerStatusBasic} \ + -m "Playing" "-b '▶ ' -s 1" \ + -m "Paused" "-b '⏸ ' -s 0" \ + -u true ${playerStatusSrc} & wait ''; confirm_command = { cmd, title ? null, text ? null, image ? null }: