Hyprscroll indicator works

This commit is contained in:
2026-02-26 15:46:03 +01:00
parent 2a49df9aed
commit 59e0c83909
2 changed files with 6 additions and 3 deletions
@@ -44,6 +44,6 @@ if (( overflow > 0 )); then
"$ICON" "$overflow" "$win_count" "$max_visible" "$COLUMN_WIDTH"
else
# If you want it visible even when OK, change "" to "•"
printf '{"text":"TESTING HYPRSCROLL","tooltip":"%d windows; approx %d fit","class":"ok"}\n' \
printf '{"text":"","tooltip":"%d windows; approx %d fit","class":"ok"}\n' \
"$win_count" "$max_visible"
fi
@@ -2,7 +2,11 @@
"layer": "top",
"height": 34,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-left": [
"hyprland/workspaces",
"hyprland/window",
"custom/hyprscroll_overflow",
],
"modules-right": [
"idle_inhibitor",
@@ -12,7 +16,6 @@
"memory",
"temperature",
"battery",
"custom/hyprscroll_overflow",
"tray",
"clock",
],