{
"layer": "top",
"position": "top",
"height": 36,
"spacing": 0,
"modules-left": [
"hyprland/workspaces",
],
"modules-right": [
"network",
"custom/space",
"battery",
"custom/space",
"pulseaudio",
"custom/space",
"custom/temperature",
"custom/space",
"memory",
"custom/space",
"cpu",
"custom/space",
"clock",
"custom/space",
],
"hyprland/workspaces": {
"disable-scroll": false,
"all-outputs": true,
"format": "{icon}",
"on-click": "activate",
"persistent-workspaces": {
"*":[1,2,3,4,5,6,7,8,9]
},
},
"custom/space": {
"format": " ",
},
"network": {
"format-wifi": "Signal(Wifi):{essid}",
"format-ethernet": "Signal(Ethernet)",
"format-linked": "Signal(Linked){ifname}",
"format-disconnected": "Signal:Offline",
"interval": 1,
"on-click": "foot -e nmtui",
"tooltip-format": "Sending: {bandwidthUpBytes} Receiving: {bandwidthDownBytes}",
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"events": {
"on-discharging-warning": "notify-send -u normal 'Low Battery' -i /home/aargh/.config/waybar/battery_low.png",
"on-discharging-critical": "notify-send -u critical 'Very Low Battery' -i /home/aargh/.config/waybar/battery_low.png",
"on-charging-100": "notify-send -u normal 'Battery Full!' -i /home/aargh/.config/waybar/battery_high.png"
},
"format": "Battery:{capacity}%",
"format-charging": "AC/DC:{capacity}%",
"interval": 1,
"format-icons": ["", "", "", "", ""],
"tooltip": true
},
"pulseaudio": {
"format": "Sound:{volume}%",
"format-muted": "Sound:off",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": [
" ",
" ",
" "
]
},
"on-click-right": "pavucontrol -t 3",
"on-click": "pactl -- set-sink-mute 0 toggle",
"tooltip": false,
},
"custom/temperature": {
"exec": "sensors | awk '/^Package id 0:/ {print int($4) + 273}'",
"format": "Heat:{}K",
"interval": 5,
"tooltip": false,
},
"memory": {
"format": "RAM({total}G):{used}G",
"tooltip": false,
},
"cpu": {
"format": "CPU:{avg_frequency}Hz",
"tooltip": true,
},
"clock": {
"interval": 1,
"timezone": "Asia/Kolkata",
"format": "Time:{:%H:%M:%S}",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"on-click-right": "mode",
"format": {
"months": "{}",
"days": "{}",
"weeks": "W{}",
"weekdays": "{}",
"today": "{}"
}
},
"tooltip": true,
"format-alt": "Time:{:L%Y/%m/%d, %A}",
"tooltip-format": "{calendar}",
},
}