diff options
Diffstat (limited to 'waybar')
-rw-r--r-- | waybar/config | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/waybar/config b/waybar/config index 42c9a23..0bfdf65 100644 --- a/waybar/config +++ b/waybar/config @@ -7,7 +7,7 @@ // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], "modules-center": ["sway/window"], - "modules-right": ["pulseaudio", "network", "cpu", "memory", "disk", "temperature", "keyboard-state", "battery", "battery#bat1", "clock", "tray"], + "modules-right": ["pulseaudio", "network", "cpu", "memory", "disk", "temperature", "keyboard-state", "battery#bat0", "battery#bat1", "clock", "tray"], // Modules configuration // "sway/workspaces": { // "disable-scroll": true, @@ -96,7 +96,7 @@ }, "disk": { "path": "/Z", - "format": "{percentage_used}% 🖴" + "format": "{free} 🖴" }, "temperature": { // "thermal-zone": 2, @@ -111,7 +111,8 @@ "format": "{percent}% {icon}", "format-icons": ["", "", "", "", "", "", "", "", ""] }, - "battery": { + "battery#bat0": { + "bat": "BAT0", "states": { // "good": 95, "warning": 30, @@ -126,7 +127,19 @@ "format-icons": ["", "", "", "", ""] }, "battery#bat1": { - "bat": "BAT1" + "bat": "BAT1", + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface |