summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-12-26 09:35:06 +0100
committerAlex Auvolat <alex@adnab.me>2023-12-26 09:35:06 +0100
commit408772a39eed161750084e4ca59c8c7ec72a0cc7 (patch)
tree762cc88408dfefaaebe7ce1280cb09503ebc05d5 /waybar
parent03e3439e8722077d27b67b51a5e3fda4b79e61af (diff)
downloaduser-config-408772a39eed161750084e4ca59c8c7ec72a0cc7.tar.gz
user-config-408772a39eed161750084e4ca59c8c7ec72a0cc7.zip
update wayfire/waybar config
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config21
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