Files
nixos-setup/configs/waybar/config.jsonc
T
2024-04-24 19:08:52 -04:00

95 lines
2.1 KiB
JSON

{
"layer": "top",
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [
"clock"
],
"modules-right": [
"backlight",
"pulseaudio",
"bluetooth",
"network",
"battery"
],
"hyprland/workspaces": {
"format": "{icon}",
"tooltip": false,
"all-outputs": true,
"format-icons": {
"active": "",
"default": ""
}
},
"clock": {
"format": "<span color='#b4befe'> </span>{:%H:%M}",
},
"backlight": {
"device": "intel_backlight",
"format": "<span color='#b4befe'>{icon}</span> {percent}%",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
"pulseaudio": {
"format": "<span color='#b4befe'>{icon}</span> {volume}%",
"format-muted": "",
"tooltip": false,
"format-icons": {
"headphone": "",
"default": [
"",
"",
"󰕾",
"󰕾",
"󰕾",
"",
"",
""
]
},
"scroll-step": 1,
"on-click": "pavucontrol"
},
"bluetooth": {
"format": "<span color='#b4befe'></span> {status}",
"format-disabled": "", // an empty format will hide the module
"format-connected": "<span color='#b4befe'></span> {num_connections}",
"tooltip-format": "{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias} {device_address}"
},
"network": {
"format": "{ifname}",
"format-wifi": "<span color='#b4befe'> </span>{essid}",
"format-ethernet": "{ipaddr}/{cidr} ",
"format-disconnected": "<span color='#b4befe'>󰖪 </span>No Network",
"tooltip": false,
"on-click": "nm-connection-editor"
},
"battery": {
"format": "<span color='#b4befe'>{icon}</span> {capacity}%",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"format-charging": "<span color='#b4befe'></span> {capacity}%",
"tooltip": false,
},
}