diff options
| -rw-r--r-- | scripts/scrolling-title.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/scrolling-title.nix b/scripts/scrolling-title.nix index 0351fa9..05eaa53 100644 --- a/scripts/scrolling-title.nix +++ b/scripts/scrolling-title.nix @@ -6,8 +6,8 @@ pkgs.writeShellApplication { coreutils ]; text = '' - WIDTH=16 - PADDING=" " + WIDTH=20 + PADDING=" " RAW_STR=$(mpc current) @@ -23,7 +23,7 @@ pkgs.writeShellApplication { INDEX=$(( T % LEN )) # Output the scrolled window - DOUBLE_STR="''$STR''$STR" + DOUBLE_STR="''$STR''$STR''$STR" echo "''${DOUBLE_STR:''$INDEX:''$WIDTH}" ''; } |
