Nixos-Config/waybar/config
2026-04-01 09:38:18 -03:00

200 lines
5.6 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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",
"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": "./air_control.py",
"interval": 1,
"return-type": "json",
"markup": "true",
"on-click-right": "./air_control.py heat",
"on-click": "./air_control.py cool",
"on-click-middle": "./air_control.py off",
"on-scroll-up": "./air_control.py up",
"on-scroll-down": "./air_control.py down"
}
}