aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config
diff options
context:
space:
mode:
authorFivePixels <o5pxels@gmail.com>2022-06-25 15:21:07 -0500
committerFivePixels <o5pxels@gmail.com>2022-06-25 15:21:07 -0500
commit5d1f09def6295b1de95557cb694a2a70055566a9 (patch)
tree43124144098036241e5e43f1dd0d742ede395909 /.config/waybar/config
parent8e17e0f44be927294b70482c920ff24434d348bc (diff)
downloaddots-sway-archbook.tar.xz
dots-sway-archbook.zip
Add battery entry for archbook configsway-archbook
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config19
1 files changed, 17 insertions, 2 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 8b10703..ff4afe7 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -8,7 +8,7 @@
// Choose the order of the modules
"modules-left": ["custom/hour", "custom/minutes", "sway/workspaces"],
// "modules-center": ["custom/transparent"],
- "modules-right": ["tray", "idle_inhibitor", "network", "pulseaudio", "clock"],
+ "modules-right": ["tray", "idle_inhibitor", "network", "pulseaudio", "battery", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
@@ -46,7 +46,22 @@
"tooltip-format": "{:%m/%d/%y %H:%M:%S}",
"format-alt": "{:%m\n%d\n%y}"
},
- "custom/transparent": {
+ "battery": {
+ "interval": 60,
+ "states": {
+ "warning": 30,
+ "critical": 15
+ },
+ "format-charging": " {icon} {capacity}%",
+ "format": "{icon} {capacity}%",
+ "format-icons": [
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "tooltip": true
},
"cpu": {
"format": "{usage}% ",