dotfiles/waybar/config.json

117 lines
3.3 KiB
JSON
Raw Normal View History

2024-01-16 18:33:53 -06:00
[
{
"name": "main",
"layer": "top",
"position": "top",
2024-01-16 23:14:21 -06:00
"height": 38,
2024-01-16 18:33:53 -06:00
"spacing": 4,
2024-01-16 23:14:21 -06:00
"margin-top": 5,
"margin-left": 800,
"margin-right": 800,
2024-01-16 18:33:53 -06:00
"margin-bottom": 0,
"output": "DP-2",
"modules-left": [
"wireplumber",
"disk",
"memory",
"cpu",
"temperature"
],
2024-01-16 23:14:21 -06:00
"modules-center": ["hyprland/workspaces"],
2024-01-16 18:33:53 -06:00
"modules-right": [
"tray",
"custom/weather",
"network#ethernet",
"clock",
"custom/poweroff"
],
"clock": {
"interval": 1,
"format": "<b>{:%H:%M:%S}</b>",
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%",
"tooltip": false
},
"disk": {
"format": " {}%",
"tooltip-format": "{used} / {total} used"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"memory": {
"format": " {}%",
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
},
"temperature": {
"critical-threshold": 80,
"format": " {icon} {temperatureC}°C ",
"format-icons": ["", "", "", "", ""],
"hwmon-path": "/sys/class/thermal/thermal_zone2/temp"
},
"network#ethernet": {
"interface": "enp*",
"format-ethernet": "",
"format-wifi": "",
"format-linked": "",
"format-disconnected": "",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/workspaces": {
2024-01-16 23:14:21 -06:00
"format": "{icon}",
2024-01-16 18:33:53 -06:00
"sort-by-number": true,
"all-outputs": true,
2024-01-16 23:14:21 -06:00
"disable-scroll": true,
"active-only": false,
"format-icons": {
"default": "",
"persistent": "",
"active": ""
},
"persistent-workspaces": {
"1": [ ],
"2": [ ],
"3": [ ],
"4": [ ],
"5": [ ]
2024-01-16 18:33:53 -06:00
}
2024-01-16 23:14:21 -06:00
2024-01-16 18:33:53 -06:00
},
"wireplumber": {
"format": " {volume}%",
"format-muted": " 0%",
"on-click": "pavucontrol",
"on-click-right": "helvum",
"max-volume": 100,
"scroll-step": 5
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/poweroff": {
"tooltip": false,
"format": " ",
"on-click": "bash $HOME/.config/waybar/scripts/poweroff.sh"
},
"custom/weather": {
"exec": "$HOME/.config/waybar/scripts/get_weather.sh Belleville+Illinois",
"return-type": "json",
"format": "{}",
"tooltip": true,
2024-01-16 23:14:21 -06:00
"interval": 600
2024-01-16 18:33:53 -06:00
}
}
]