Added indictaor for hyprscroll

This commit is contained in:
2026-02-26 14:32:39 +01:00
parent f324231ba8
commit 03d4263033
3 changed files with 125 additions and 40 deletions
@@ -1,7 +1,9 @@
{
"layer": "top",
"height": 34,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-right": [
"idle_inhibitor",
"pulseaudio",
@@ -10,13 +12,24 @@
"memory",
"temperature",
"battery",
"custom/hyprscroll_overflow",
"tray",
"clock"
"clock",
],
"custom/hyprscroll_overflow": {
"exec": "COLUMN_WIDTH=0.5 ~/.config/hypr/scripts/hyprscroll-overflow.sh",
"return-type": "json",
"interval": 1,
"format": "{}",
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": { "activated": "  ", "deactivated": " 󰒲 " }
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 ",
},
},
"pulseaudio": {
@@ -27,10 +40,10 @@
"headphones": "",
"headset": "",
"phone": "",
"portab le": "",
"default": ["", ""]
"portable": "",
"default": ["", ""],
},
"on-click": "pavucontrol"
"on-click": "pavucontrol",
},
"network": {
@@ -39,24 +52,43 @@
"format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "impala"
"on-click": "impala",
},
"cpu": { "format": "{usage}%  ", "tooltip": false },
"memory": { "format": "{percentage}% " },
"cpu": {
"format": "{usage}% ",
"tooltip": false,
},
"temperature": { "format": "{temperatureC}°C ", "tooltip": false },
"memory": {
"format": "{percentage}%  ",
},
"tray": { "spacing": 10, "icon-size": 14 },
"temperature": {
"format": "{temperatureC}°C ",
"tooltip": false,
},
"clock": { "format": "{:%a, %d %b %Y - %H:%M}", "tooltip": false },
"tray": {
"spacing": 10,
"icon-size": 14,
},
"clock": {
"format": "{:%a, %d %b %Y - %H:%M}",
"tooltip": false,
},
"battery": {
"bat": "BAT0",
"states": { "good": 95, "warning": 30, "critical": 15 },
"states": {
"good": 95,
"warning": 30,
"critical": 15,
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}%  ",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "]
}
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "],
},
}