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