diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-03-10 01:38:38 -0500 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-03-10 01:38:38 -0500 |
| commit | 7d441dadf096b3152e5a0973f486b79a28f654ce (patch) | |
| tree | 11592d983611885c5646f35fac4d60825113806f /modules/home-manager/hypr/waybar-hyprland.nix | |
| parent | a88ea2380f4bd5845bc3b035a0a8bbfee42f4292 (diff) | |
vecna up to date + update
Diffstat (limited to 'modules/home-manager/hypr/waybar-hyprland.nix')
| -rw-r--r-- | modules/home-manager/hypr/waybar-hyprland.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/home-manager/hypr/waybar-hyprland.nix b/modules/home-manager/hypr/waybar-hyprland.nix index ebbae3a..eed22c6 100644 --- a/modules/home-manager/hypr/waybar-hyprland.nix +++ b/modules/home-manager/hypr/waybar-hyprland.nix @@ -64,12 +64,12 @@ on-scroll-down = "playerctl --player=,Feishin previous"; exec = "${pkgs.writeShellScriptBin "feishin-module-script" '' shorten() { - if [ ''${#1} -le 12 ]; then + if [ ''${#1} -le 24 ]; then printf "%s" "$1" else - local truncated="''${1:0:9}" + local truncated="''${1:0:21}" if [ "''${truncated: -1}" = " " ]; then - truncated="''${truncated:0:8}" + truncated="''${truncated:0:20}" fi printf "%s…" "$truncated" fi |
