diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-05-01 12:53:00 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-05-01 12:53:00 -0400 |
| commit | 0752b35f348246f5b27aa3fb778c1bb416db1c1a (patch) | |
| tree | ad2123908a917f4f2c837f9ec1b91dcf1bc8bc56 /scripts | |
| parent | vim configuration (diff) | |
| download | nixos-0752b35f348246f5b27aa3fb778c1bb416db1c1a.tar.gz nixos-0752b35f348246f5b27aa3fb778c1bb416db1c1a.tar.bz2 nixos-0752b35f348246f5b27aa3fb778c1bb416db1c1a.zip | |
fix scrolling title script
Diffstat (limited to '')
| -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}" ''; } |
