From acdd69504719db88cb7566ef7a07856964547bc1 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 28 Nov 2024 08:07:02 +0100 Subject: [PATCH] corrected truncation --- desktopenvs/hyprland/eww/scripts/activewindow | 2 +- desktopenvs/hyprland/eww/scripts/playerget | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desktopenvs/hyprland/eww/scripts/activewindow b/desktopenvs/hyprland/eww/scripts/activewindow index 4698da1..7a974a5 100755 --- a/desktopenvs/hyprland/eww/scripts/activewindow +++ b/desktopenvs/hyprland/eww/scripts/activewindow @@ -1,5 +1,5 @@ #!/bin/bash -trunc=32 +trunc=23 sample=$(hyprctl activewindow | grep title: | awk -F: '{print $2}') #echo ${sample} diff --git a/desktopenvs/hyprland/eww/scripts/playerget b/desktopenvs/hyprland/eww/scripts/playerget index ca2e451..19dcd50 100755 --- a/desktopenvs/hyprland/eww/scripts/playerget +++ b/desktopenvs/hyprland/eww/scripts/playerget @@ -1,5 +1,5 @@ #!/bin/bash -trunc=32 +trunc=30 sample=$(playerctl metadata --format '{{ title }} - {{ artist }}') #echo ${sample}