2023-10-14 14:32:12 +02:00
|
|
|
{
|
2024-10-12 13:24:57 +02:00
|
|
|
"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,
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"hyprland/workspaces": {
|
|
|
|
"format": "{icon}",
|
|
|
|
"on-click": "activate",
|
|
|
|
"sort-by-number": true
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"clock": {
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
"format-alt": "{:L%A %e %b}",
|
|
|
|
"locale": "fr_FR.utf8",
|
|
|
|
"calendar": {
|
|
|
|
"weeks-pos": "left",
|
|
|
|
"format": {
|
|
|
|
"weeks": "<span color='#99ffdd'><b>{:%U}</b></span>",
|
|
|
|
"today": "<span color='#ff6699'><b>{}</b></span>"
|
|
|
|
}
|
|
|
|
}
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"cpu": {
|
|
|
|
"format": " {usage}%",
|
|
|
|
"tooltip": false
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"memory": {
|
|
|
|
"format": "{}% "
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"temperature": {
|
|
|
|
"critical-threshold": 80,
|
|
|
|
"format": "{icon} {temperatureC}°C",
|
|
|
|
"format-icons": ["", "", ""]
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"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": ["", "", "", "", ""]
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
2024-10-12 13:24:57 +02:00
|
|
|
"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": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"none": "",
|
|
|
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"dnd-none": "",
|
|
|
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"inhibited-none": "",
|
|
|
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"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
|
2023-10-14 14:32:12 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|