{
"margin-top" : 0,
"margin-left": 0,
"margin-right": 0,
"height" : 35,
"modules-left": [
"custom/launcher",
"hyprland/workspaces"
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"pulseaudio",
"network",
"temperature",
"battery",
"clock",
"custom/updates",
"custom/notification",
"tray",
"custom/power"
],
"hyprland/window": {
"format": "{title}",
"icon": false,
},
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"sort-by-number": true
},
"clock": {
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:L%A %e %b}",
"locale": "fr_FR.utf8",
"calendar": {
"weeks-pos": "left",
"format": {
"weeks": "{:%U}",
"today": "{}"
}
}
},
"cpu": {
"format": " {usage}%",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-full": "{icon} {capacity}%",
"format-charging": "⚡ {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"network": {
"format-wifi": " {signalStrength}%",
"format-ethernet": "🖧",
"tooltip-format": "{ipaddr}/{cidr} {ifname} via {gwaddr} {essid}",
"format-linked": "{ifname} (No IP) ⚠",
"format-disconnected": " ⚠ ",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": "🔇 {format_source}",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
"custom/launcher": {
"format": " ",
"on-click": "wofi --show drun",
},
"custom/power": {
"format": "⏻",
"tooltip": false,
"on-click": "poweroff"
},
"custom/updates": {
"format": "{} {icon}",
"return-type": "json",
"format-icons": {
"has-updates": "",
"updated": ""
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
},
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "",
"dnd-none": "",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
}