|
|
@ -2,33 +2,34 @@
|
|
|
|
//"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}"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"cpu": {
|
|
|
|
"format": " {usage}%",
|
|
|
|
"format": " {usage}%",
|
|
|
|
"tooltip": false
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"memory": {
|
|
|
|
"format": " {}%"
|
|
|
|
"format": " {}%"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"temperature": {
|
|
|
|
"temperature": {
|
|
|
|
"critical-threshold": 80,
|
|
|
|
"critical-threshold": 80,
|
|
|
|
"format": " {temperatureC}°C",
|
|
|
|
"format": " {temperatureC}°C",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"backlight": {
|
|
|
|
"backlight": {
|
|
|
|
"format": "{icon} {percent}%",
|
|
|
|
"format": "{icon} {percent}%",
|
|
|
@ -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",
|
|
|
@ -66,7 +73,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"pulseaudio": {
|
|
|
|
// "scroll-step": 1, // %, can be a float
|
|
|
|
// "scroll-step": 1, // %, can be a float
|
|
|
|
"format": " {volume}%",
|
|
|
|
"format": " {volume}%",
|
|
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|