Files
dotfiles/waybar/config

73 lines
2.4 KiB
Plaintext
Raw Normal View History

2025-08-05 08:18:20 +10:00
{
"layer": "top",
2025-08-23 19:35:59 +10:00
"position": "top",
"height": 40,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": [],
"modules-right": ["network", "bluetooth", "pulseaudio", "battery", "power-profiles-daemon", "clock"],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}"
},
"hyprland/window": {
"format": "{}"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "Disconnected ⚠",
"tooltip-format": "{ifname} via {gwaddr} ",
"on-click": "nm-connection-editor"
},
"bluetooth": {
"format": " {status}",
"format-disabled": "",
"format-connected": " {device_alias}",
"tooltip-format": "{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias} {device_address}"
},
"pulseaudio": {
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
2025-08-05 08:18:20 +10:00
},
2025-08-23 19:35:59 +10:00
"on-click": "pavucontrol"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
2025-08-05 08:18:20 +10:00
},
2025-08-23 19:35:59 +10:00
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}",
"format-icons": {
"power-saver": "🙑",
"balanced": "",
"performance": ""
2025-08-05 08:18:20 +10:00
},
2025-08-23 19:35:59 +10:00
"on-click": "case \"$(powerprofilesctl get)\" in \"performance\") powerprofilesctl set balanced ;; \"balanced\") powerprofilesctl set power-saver ;; *) powerprofilesctl set performance ;; esac"
},
"clock": {
"interval": 1,
"format": "{:%H:%M:%S}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
}
}