diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-01-02 22:36:51 -0500 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-01-02 22:36:51 -0500 |
| commit | 740dc95572aa39dce95a14339781c571fef0cf62 (patch) | |
| tree | 5634936f08979856fa83470bd8f3861da134ccef /modules/home-manager/hypr/waybar-hyprland.nix | |
| parent | 3a921a31d3aa99b9e0cdee23edc849d991bbe5f2 (diff) | |
update
Diffstat (limited to 'modules/home-manager/hypr/waybar-hyprland.nix')
| -rw-r--r-- | modules/home-manager/hypr/waybar-hyprland.nix | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
