{
"layer": "top",
"position": "top",
"height": 36,
"spacing": 0,
"modules-left": [
"hyprland/workspaces",
],
"modules-right": [
"network",
"custom/space",
"battery",
"custom/space",
"pulseaudio",
"custom/space",
"custom/brightness",
"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]
},
},
"custom/space": {
"format": " ",
},
"network": {
"format-wifi": "Radio(Wifi):{essid}",
"format-ethernet": "Radio(Ethernet)",
"format-linked": "Radio(Linked){ifname}",
"format-disconnected": "Radio:Offline",
"interval": 1,
"on-click": "foot -e nmtui",
"tooltip-format": "Sending: {bandwidthUpBytes} Receiving: {bandwidthDownBytes}",
},
"battery": {
"interval": 1,
"states": {
"warning": 30,
"critical": 15
},
"format": "Electrons:{capacity}",
"format-charging": "Electrons:AC/DC({capacity})",
"format-discharging-warning": "Electrons:{capacity}",
"format-discharging-critical": "Electrons:{capacity}",
"tooltip": true
},
"pulseaudio": {
"format": "Waves:{volume}",
"format-muted": "Waves: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/brightness": {
"exec": "~/.config/waybar/brightness.sh",
"format": "{}",
"interval": 1,
"tooltip": false,
},
"custom/temperature": {
"exec": "sensors | awk '/^Package id 0:/ {print int($4) + 273}'",
"format": "Radiation:{}K",
"interval": 5,
"tooltip": false,
},
"memory": {
"format": "Latch:{used}G",
"tooltip": false,
},
"cpu": {
"format": "Data Bus:{avg_frequency}Hz",
"tooltip": true,
},
"clock": {
"interval": 1,
"timezone": "Asia/Kolkata",
"format": "Spin:{:%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": "Spin:{:L%Y/%m/%d, %A}",
"tooltip-format": "{calendar}",
},
}