73 lines
2.4 KiB
Plaintext
73 lines
2.4 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"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": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"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": ""
|
|
},
|
|
"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>"
|
|
}
|
|
}
|