|
|
|
@ -2,20 +2,21 @@
|
|
|
|
|
//"layer": "top", // Waybar at top layer
|
|
|
|
|
"position": "top", // Waybar position (top|bottom|left|right)
|
|
|
|
|
"height": 25, // Waybar height (to be removed for auto height)
|
|
|
|
|
"spacing": 4, // Gaps between modules (4px)
|
|
|
|
|
"spacing": 0, // Gaps between modules (4px)
|
|
|
|
|
// Choose the order of the modules
|
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
|
|
|
"modules-center": [],
|
|
|
|
|
"modules-right": ["custom/bluetooth-battery", "battery", "pulseaudio", "cpu", "temperature", "memory", "backlight", "clock", "tray"],
|
|
|
|
|
"modules-right": ["custom/bluetooth-battery", "custom/left-semi", "battery", "custom/right-semi", "pulseaudio", "custom/left-semi", "cpu", "custom/right-semi", "temperature", "custom/left-semi", "memory", "custom/right-semi", "backlight", "custom/left-semi", "clock", "custom/right-semi", "tray"],
|
|
|
|
|
"fixed-center": true,
|
|
|
|
|
"sway/mode": {
|
|
|
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
|
|
|
},
|
|
|
|
|
"tray": {
|
|
|
|
|
// "icon-size": 21,
|
|
|
|
|
"icon-size": 14,
|
|
|
|
|
"spacing": 10
|
|
|
|
|
},
|
|
|
|
|
"clock": {
|
|
|
|
|
"format": " {:%H:%M}",
|
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
|
|
|
},
|
|
|
|
@ -24,7 +25,7 @@
|
|
|
|
|
"tooltip": false
|
|
|
|
|
},
|
|
|
|
|
"memory": {
|
|
|
|
|
"format": " {}%"
|
|
|
|
|
"format": " {}%"
|
|
|
|
|
},
|
|
|
|
|
"temperature": {
|
|
|
|
|
"critical-threshold": 80,
|
|
|
|
@ -37,8 +38,8 @@
|
|
|
|
|
"battery": {
|
|
|
|
|
"states": {
|
|
|
|
|
// "good": 95,
|
|
|
|
|
"warning": 19,
|
|
|
|
|
"critical": 15,
|
|
|
|
|
"warning": 50,
|
|
|
|
|
"critical": 40,
|
|
|
|
|
},
|
|
|
|
|
"format": " {capacity}%",
|
|
|
|
|
"format-time": "{H}h {M}m",
|
|
|
|
@ -47,6 +48,12 @@
|
|
|
|
|
"format-alt": "{icon} {time}",
|
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
|
|
|
|
},
|
|
|
|
|
"custom/left-semi": {
|
|
|
|
|
"format": "",
|
|
|
|
|
},
|
|
|
|
|
"custom/right-semi": {
|
|
|
|
|
"format": "",
|
|
|
|
|
},
|
|
|
|
|
"custom/bluetooth-battery": {
|
|
|
|
|
"format": "{}",
|
|
|
|
|
"return-type": "json",
|
|
|
|
|