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