config

 1{
 2    "layer": "top", // Waybar at top layer
 3    "height": 30, // Waybar height (to be removed for auto height)
 4    "spacing": 5,
 5    "modules-left": ["hyprland/workspaces", "hyprland/window"],
 6    "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight",  "battery", "clock", "tray"],
 7    "hyprland/workspaces": {
 8        "disable-scroll": true,
 9        "all-outputs": true,
10        "warp-on-scroll": true
11    },
12    "hyprland/window": {
13        "format": "   {}"
14    },
15    "idle_inhibitor": {
16        "format": "{icon}",
17        "format-icons": {
18            "activated": "",
19            "deactivated": ""
20        }
21    },
22    "tray": {
23        // "icon-size": 21,
24        "spacing": 10
25    },
26    "clock": {
27        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
28        "format": "{:%H:%M} ",
29        "format-alt": "{:%Y-%m-%d} 󰃭"
30    },
31    "cpu": {
32        "format": "{usage}%",
33        "tooltip": false
34    },
35    "memory": {
36        "format": "{}%"
37    },
38    "temperature": {
39        "critical-threshold": 80,
40        "format": "{temperatureC}°C {icon}",
41        "format-icons": ["", "", "", "", ""]
42    },
43    "backlight": {
44        "format": "{percent}% {icon}",
45        "format-icons": ["", "", "", "", "", "", "", "", ""]
46    },
47    "battery": {
48        "states": {
49            "good": 95,
50            "warning": 30,
51            "critical": 15
52        },
53        "format": "{capacity}% {icon}",
54        "format-charging": "{capacity}% 󰂄",
55        "format-plugged": "{capacity}%",
56        "format-alt": "{time} {icon}",
57        "format-icons": [ "󰢟", "󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂅" ]     
58    },
59    "network": {
60        "format-wifi": "",
61        "format-ethernet": "󰈀",
62        "tooltip-format": "{ifname} via {gwaddr} 󰛳",
63        "format-linked": "{ifname} (No IP) ",
64        "format-disconnected": "󰖪",
65        "format-alt": "{ifname}: {ipaddr}/{cidr}"
66    },
67    "pulseaudio": {
68        // "scroll-step": 1, // %, can be a float
69        "format": "{volume}%  {icon}  {format_source}",
70        "format-bluetooth": "{volume}%  {icon}   {format_source}",
71        "format-bluetooth-muted": "󰝟  {icon}   {format_source}",
72        "format-muted": "󰝟  {format_source}",
73        "format-source": "{volume}%",
74        "format-source-muted": "",
75        "format-icons": {
76            "headphone": "",
77            "hands-free": "",
78            "headset": "",
79            "phone": "",
80            "portable": "",
81            "car": "",
82            "default": ["", "", ""]
83        },
84        "on-click": "pavucontrol"
85    }
86}
87