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" "$ICON" "$overflow" "$win_count" "$max_visible" "$COLUMN_WIDTH"
else else
# If you want it visible even when OK, change "" to "•" # 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" "$win_count" "$max_visible"
fi fi
@@ -2,7 +2,11 @@
"layer": "top", "layer": "top",
"height": 34, "height": 34,
"modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-left": [
"hyprland/workspaces",
"hyprland/window",
"custom/hyprscroll_overflow",
],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
@@ -12,7 +16,6 @@
"memory", "memory",
"temperature", "temperature",
"battery", "battery",
"custom/hyprscroll_overflow",
"tray", "tray",
"clock", "clock",
], ],