115 lines
2.4 KiB
Plaintext
115 lines
2.4 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"height": 34,
|
|
|
|
//"modules-left": ["hyprland/window"],
|
|
|
|
"modules-center": [
|
|
"hyprland/workspaces"
|
|
"custom/hypr-workspaces"
|
|
],
|
|
|
|
"modules-right": [
|
|
"idle_inhibitor",
|
|
"pulseaudio",
|
|
"network",
|
|
"custom/bluetooth",
|
|
// "cpu",
|
|
// "memory",
|
|
// "temperature",
|
|
"battery",
|
|
"tray",
|
|
"clock",
|
|
],
|
|
|
|
"custom/hypr-workspaces": {
|
|
"exec": "~/.config/waybar/scripts/hypr-workspaces.sh",
|
|
"interval": 2,
|
|
"return-type": "json",
|
|
"format": "{name}",
|
|
"on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh",
|
|
"tooltip": true
|
|
}
|
|
|
|
"custom/bluetooth": {
|
|
"exec": "~/.config/waybar/scripts/bluetooth-status.sh",
|
|
"interval": 5,
|
|
"return-type": "json",
|
|
"on-click": "blueman-manager",
|
|
"format": "{}"
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"tooltip": true,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": " ",
|
|
"deactivated": " ",
|
|
},
|
|
"tooltip-format-activated": "Staying awake",
|
|
"tooltip-format-deactivated": "Might sleep....",
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphones": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"default": ["", ""],
|
|
},
|
|
"on-click": "pavucontrol",
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": " ({bandwidthDownBits})",
|
|
"format-ethernet": " ({bandwidthDownBits})",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
|
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
|
|
"on-click": "impala",
|
|
"on-click-right": "nm-connection-editor",
|
|
},
|
|
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false,
|
|
},
|
|
|
|
"memory": {
|
|
"format": "{percentage}% ",
|
|
},
|
|
|
|
"temperature": {
|
|
"format": "{temperatureC}°C ",
|
|
"tooltip": false,
|
|
},
|
|
|
|
"tray": {
|
|
"spacing": 10,
|
|
"icon-size": 14,
|
|
},
|
|
|
|
"clock": {
|
|
"format": "{:%a, %d %b %Y - %H:%M}",
|
|
"tooltip": false,
|
|
"on-click": "flatpak run eu.betterbird.Betterbird -calendar",
|
|
},
|
|
|
|
"battery": {
|
|
"bat": "BAT0",
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 15,
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-icons": ["", "", "", "", " "],
|
|
},
|
|
}
|