From 740dc95572aa39dce95a14339781c571fef0cf62 Mon Sep 17 00:00:00 2001 From: scouckel Date: Fri, 2 Jan 2026 22:36:51 -0500 Subject: update --- modules/home-manager/hypr/waybar-hyprland.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/home-manager/hypr/waybar-hyprland.nix') diff --git a/modules/home-manager/hypr/waybar-hyprland.nix b/modules/home-manager/hypr/waybar-hyprland.nix index 15b8d7c..7941170 100644 --- a/modules/home-manager/hypr/waybar-hyprland.nix +++ b/modules/home-manager/hypr/waybar-hyprland.nix @@ -8,7 +8,7 @@ mainBar = { layer = "top"; position = "top"; - height = 15; + height = 30; modules-left = [ "hyprland/workspaces" "idle_inhibitor" ]; modules-center = [ "hyprland/window" ]; @@ -64,12 +64,12 @@ on-scroll-down = "playerctl --player=spotify_player,spotify previous"; exec = "${pkgs.writeShellScriptBin "spotify-module-script" '' shorten() { - if [ ''${#1} -le 16 ]; then + if [ ''${#1} -le 12 ]; then printf "%s" "$1" else - local truncated="''${1:0:13}" + local truncated="''${1:0:9}" if [ "''${truncated: -1}" = " " ]; then - truncated="''${truncated:0:12}" + truncated="''${truncated:0:8}" fi printf "%s…" "$truncated" fi -- cgit v1.3