{
"layer": "top",
"position": "top",
"height": 36,
"spacing": 0,
"modules-left": [
"clock",
"hyprland/workspaces",
"tray",
],
"modules-right": [
"network",
"battery",
"pulseaudio",
"custom/temperature",
"memory",
"cpu",
"custom/lock",
"custom/reboot",
"custom/power",
],
"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/lock": {
"format": " ",
"on-click": "hyprlock",
"tooltip": true,
"tooltip-format": "Lock"
},
"custom/reboot": {
"format": " ",
"on-click": "systemctl reboot",
"tooltip": true,
"tooltip-format": "Reboot"
},
"custom/power": {
"format": " ",
"on-click": "systemctl poweroff",
"tooltip": true,
"tooltip-format": "Power"
},
"network": {
"format-wifi": " {essid} ",
"format-ethernet": " Wired ",
"tooltip-format": " {bandwidthUpBytes} {bandwidthDownBytes}",
"format-linked": " {ifname} (No IP) ",
"format-disconnected": " Disconnected ",
"interval": 1,
"on-click": "foot -e nmtui",
},
"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": " {icon} {capacity}%",
"format-charging": " {capacity}%",
"interval": 1,
"format-icons": ["", "", "", "", ""],
"tooltip": true
},
"pulseaudio": {
"format": " {icon} {volume}%",
"format-muted": " 0%",
"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": true,
"tooltip-format": "Volume: {volume}%"
},
"custom/temperature": {
"exec": "sensors | awk '/^Package id 0:/ {print int($4) + 273}'",
"format": " {} K",
"interval": 5,
"tooltip": true,
"tooltip-format": "CPU Temperature: {} K"
},
"memory": {
"format": " {used:0.1f}G/{total:0.1f}G ",
"tooltip": true,
"tooltip-format": "Memory: {used:0.2f}G/{total:0.2f}G"
},
"cpu": {
"format": " {usage}% ",
"tooltip": true
},
"clock": {
"interval": 1,
"timezone": "Asia/Kolkata",
"format": " {:%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": " {:L%Y/%m/%d, %A} ",
"tooltip-format": "{calendar}",
},
"tray": {
"icon-size": 17,
"spacing": 6
},
}