34 lines
976 B
Plaintext
34 lines
976 B
Plaintext
{
|
|
// Import generic framework.
|
|
"include": ["~/.config/waybar/generic"],
|
|
|
|
"position": "top", // Waybar position (top|bottom|left|right)
|
|
"margin-top": 0,
|
|
"modules-left": ["battery", "cpu", "temperature#1", "memory", "mpris"],
|
|
"modules-center": ["sway/workspaces", "river/tags"],
|
|
"modules-right": ["sway/mode", "network", "pulseaudio", "clock", "idle_inhibitor", "tray"],
|
|
|
|
// Generic enough battery
|
|
"battery": {
|
|
"interval":60,
|
|
"states": {
|
|
"full": 100,
|
|
"great": 80,
|
|
"good": 60,
|
|
"warning": 40,
|
|
"critical": 20
|
|
},
|
|
"tooltip": false,
|
|
"format": "{icon}",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
|
|
// Thermal zone 0 is the same as k10temp.
|
|
// GPU is on same die so temps should be similar.
|
|
"temperature#1": {
|
|
"thermal-zone": 0,
|
|
"critical-threshold": 80,
|
|
"format": "{temperatureC:3}°",
|
|
},
|
|
}
|