style(waybar): enhance waybar configuration with improved styling and additional modules

Update waybar configuration with:
- Adjusted height (34 to 36) and spacing (4 to 2)
- Added margins (top: 6, left: 10, right: 10)
- Added workspace navigation with scroll (e-1/e+1)
- Added backlight, bluetooth, and battery modules
- Enhanced clock format with calendar styling
- Improved audio controls with pavucontrol integration
- Added network bandwidth display
- Updated all module icons to use modern emoji/nerd font glyphs
- Improved tooltips with more detailed information
- Adjusted max window name length from 55 to 45 characters
This commit is contained in:
2026-07-04 00:26:09 +02:00
parent 8224a24d02
commit 289a70c10c
@@ -1,51 +1,89 @@
{
"layer": "top",
"position": "top",
"height": 34,
"spacing": 4,
"height": 36,
"spacing": 2,
"margin-top": 6,
"margin-left": 10,
"margin-right": 10,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["custom/keyhelp", "pulseaudio", "network", "cpu", "memory", "tray"],
"modules-right": ["custom/keyhelp", "backlight", "pulseaudio", "bluetooth", "network", "cpu", "memory", "battery", "tray"],
"hyprland/workspaces": {
"format": "{id}",
"on-click": "activate"
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e-1",
"on-scroll-down": "hyprctl dispatch workspace e+1"
},
"hyprland/window": {
"max-length": 55,
"max-length": 45,
"separate-outputs": true
},
"clock": {
"format": "{:%H:%M}",
"format-alt": "{:%A %d %B %Y — %H:%M}",
"tooltip-format": "<tt>{calendar}</tt>"
"format": "󰥔 {:%H:%M %A %d %B %Y}",
"format-alt": "󰥔 {:%H:%M}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"format": {
"today": "<b><span color='#89b4fa'>{}</span></b>"
}
}
},
"custom/keyhelp": {
"format": " Raccourcis",
"format": "󰌌 Raccourcis",
"tooltip-format": "Raccourcis clavier (SUPER+K)",
"on-click": "fws-hypr-keys"
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": ["󰃞", "󰃟", "󰃠"],
"on-scroll-up": "brightnessctl set +5%",
"on-scroll-down": "brightnessctl set 5%-",
"tooltip-format": "Luminosité {percent}% (molette pour régler)"
},
"pulseaudio": {
"format": "Vol {volume}%",
"format-muted": "Muet",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"tooltip": false
"format": "{icon} {volume}%",
"format-muted": "󰝟 muet",
"format-icons": { "default": ["󰕿", "󰖀", "󰕾"] },
"on-click": "pavucontrol",
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-",
"tooltip-format": "{desc} — clic : mixeur, clic droit : muet"
},
"bluetooth": {
"format": "󰂯",
"format-disabled": "󰂲",
"format-connected": "󰂱 {num_connections}",
"on-click": "blueman-manager",
"tooltip-format": "{controller_alias}\t{controller_address}",
"tooltip-format-connected": "{device_enumerate}"
},
"network": {
"format-wifi": "{essid}",
"format-ethernet": "{ipaddr}",
"format-disconnected": "hors ligne",
"tooltip-format": "{ifname} — {ipaddr}"
"format-wifi": "󰤨 {essid}",
"format-ethernet": "󰈀 {ipaddr}",
"format-disconnected": "󰤭 hors ligne",
"tooltip-format": "{ifname} — {ipaddr}\n⇡ {bandwidthUpBytes} ⇣ {bandwidthDownBytes}"
},
"cpu": {
"format": "CPU {usage}%",
"format": " {usage}%",
"interval": 3
},
"memory": {
"format": "RAM {percentage}%",
"interval": 3
"format": " {percentage}%",
"interval": 3,
"tooltip-format": "{used:0.1f} / {total:0.1f} Gio"
},
"battery": {
"states": { "warning": 25, "critical": 10 },
"format": "{icon} {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󰁹"],
"tooltip-format": "{timeTo}"
},
"tray": {
"spacing": 8
"spacing": 8,
"icon-size": 16
}
}