Hyprscroll indicator works
This commit is contained in:
@@ -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",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user