{ "layer": "top", "position": "top", "fixed-center": true, "height": 48, "margin-top": 20, "margin-bottom": 0, "output": ["DP-5", "DP-3"], "modules-left": ["hyprland/workspaces", "cava"], "modules-center": ["custom/ac", "clock"], "modules-right": [ "mpris", "network", "bluetooth", "pulseaudio", "backlight", "battery", "custom/poweroff" ], "group/power": { "orientation": "inherit", "drawer": { "transition-duration": 500, "transition-left-to-right": false }, "modules": [ "custom/poweroff", "custom/restart", "custom/exit", "custom/sleep", "custom/lock" ] }, "custom/poweroff": { "format": "", "on-click": "poweroff" }, "custom/restart": { "format": "󰑐", "on-click": "reboot" }, "custom/exit": { "format": "󰗼", "on-click": "hyprctl dispatch exit" }, "custom/sleep": { "format": "󰤄", "on-click": "systemctl suspend" }, "custom/lock": { "format": "", "on-click": "hyprlock" }, "custom/kde": { "format": "", "on-click": "hyprlock" }, "hyprland/workspaces": { "all-outputs": false, "active-only": false, "persistent-workspaces": { "DP-3": [1, 2, 3, 4, 5, 6, 7, 8, 9], "DP-5": [1, 2, 3, 4, 5, 6, 7, 8, 9], "HDMI-A-1": [10] }, "format": "{icon}", "format-icons": { "1": "", "2": "", "3": "", "4": "󰯉", "5": "󰭹", "6": "", "7": "", "8": "", "9": "", "10": "" }, "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1" }, "clock": { "format": "{:%d/%m/%Y - %H:%M}", "tooltip": false, "locale": "pt_BR.utf8" }, "cpu": { "interval": 5, "format": "︁ {}%", "max-length": 10 }, "cava": { "framerate": 60, "hide_on_silence": true, "bars": 10, "source": "auto", "method": "pipewire", "stereo": true, "bar_delimiter": 0, "monstercat": false, "waves": true, "noise_reduction": 0.2, "sleep_timer": 1, "input_delay": 0, "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], "actions": { "on-click-right": "mode" } }, "memory": { "interval": 15, "format": "︁ {used:0.1f}G/{total:0.1f}G", "tooltip": false }, "pulseaudio": { "format": "{icon}", "format-bluetooth": "{icon}", "format-muted": "", "format-icons": { // "headphone": "", // "hands-free": "", // "headset": "󱡒", // "phone": "", // "portable": "", // "car": "", "default": ["󰕿", "󰖀", "󰖀", "󰕾", "󰕾", "󰕾"] }, "scroll-step": 10, "on-click": "pavucontrol", "on-click-right": "$HOME/nixos-config/waybar/switch_sink.sh", "ignored-sinks": ["Easy Effects Sink"], "tooltip-format": "{icon} {volume}" }, "bluetooth": { "format": "󰂯", "format-connected": "󰂱", "format-connected-battery": "󰂱", "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format-connected": "{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%", "on-click": "bluetoothctl disconnect", "on-click-right": "bluetoothctl connect B6:97:1A:3D:6A:B2" }, "backlight": { "device": "intel_backlight", "format": "{icon}", "scroll-step": 5, "format-icons": ["󰃛", "󰃜", "󰃝", "󰃞", "󰃟", "󰃠"] }, "mpris": { "format": "{player_icon} {dynamic}", "format-paused": "{status_icon} {dynamic}", "tooltip-format": "{status_icon} {dynamic}", "player-icons": { "default": "", "mpv": "🎵" }, "status-icons": { "paused": "" }, "dynamic-len": 40, "dynamic-order": ["title", "artist", "album"], "player": "spotify", "ignored-players": ["firefox*"], "on-scroll-up": "playerctl -i firefox volume 0.1+", "on-scroll-down": "playerctl -i firefox volume 0.1-" }, "battery": { "format": "{icon} ", "format-icons": ["", "", "", "", ""], "format-charging": "{icon}", "format-full": "{icon}", "interval": 15, "states": { "warning": 25, "critical": 10 }, "tooltip": false }, "network": { "format": "{icon}", "format-alt": "󰲝 {ipaddr}", "format-alt-click": "click-left", "format-wifi": " ", "format-ethernet": "󰲝", "format-disconnected": "⚠", "tooltip": false }, "custom/ac": { "exec": "$HOME/nixos-config/waybar/air_control.py", "interval": 3, "return-type": "json", "markup": "true", "on-click": "$HOME/nixos-config/waybar/air_control.py toggle", "on-click-right": "$HOME/nixos-config/waybar/air_control.py cycle-mode", "on-click-middle": "$HOME/nixos-config/waybar/air_control.py cycle-fan", "on-scroll-up": "$HOME/nixos-config/waybar/air_control.py up", "on-scroll-down": "$HOME/nixos-config/waybar/air_control.py down" } }