diff --git a/.config/waybar/config.hyprland b/.config/waybar/config.hyprland new file mode 100644 index 0000000..02ccc60 --- /dev/null +++ b/.config/waybar/config.hyprland @@ -0,0 +1,64 @@ +{ + "height": 30, // Waybar height (to be removed for auto height) + "spacing": 1, // Gaps between modules (4px) + "modules-left": ["hyprland/workspaces"], + "modules-center": ["clock"], + "modules-right": ["tray", "pulseaudio", "battery"], + "sway/scratchpad": { + "format": "{icon} {count}", + "show-empty": false, + "format-icons": ["", ""], + "tooltip": true, + "tooltip-format": "{app}: {title}" + }, + "tray": { + "icon-size": 16, + "spacing": 4 + }, + "clock": { + "timezone": "Europe/Paris", + "format": "{:%d-%m-%Y - %H:%M}", + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""] + }, + "battery#bat2": { + "bat": "BAT2" + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": "{essid} ({signalStrength}%) ", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{volume}% {icon}", + "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" + }, +} +