feat(waybar): add waybar configuration for hyprland desktop environment
Add waybar panel configuration with modules for workspaces, window title, clock, volume, network, CPU, and memory monitoring. Configured for top panel layout with French localization support.
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 34,
|
||||
"spacing": 4,
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["custom/keyhelp", "pulseaudio", "network", "cpu", "memory", "tray"],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{id}",
|
||||
"on-click": "activate"
|
||||
},
|
||||
"hyprland/window": {
|
||||
"max-length": 55,
|
||||
"separate-outputs": true
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%A %d %B %Y — %H:%M}",
|
||||
"tooltip-format": "<tt>{calendar}</tt>"
|
||||
},
|
||||
"custom/keyhelp": {
|
||||
"format": "⌨ Raccourcis",
|
||||
"tooltip-format": "Raccourcis clavier (SUPER+K)",
|
||||
"on-click": "fws-hypr-keys"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "Vol {volume}%",
|
||||
"format-muted": "Muet",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"tooltip": false
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "{essid}",
|
||||
"format-ethernet": "{ipaddr}",
|
||||
"format-disconnected": "hors ligne",
|
||||
"tooltip-format": "{ifname} — {ipaddr}"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU {usage}%",
|
||||
"interval": 3
|
||||
},
|
||||
"memory": {
|
||||
"format": "RAM {percentage}%",
|
||||
"interval": 3
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 8
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user