summaryrefslogtreecommitdiff
path: root/.config/waybar/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config13
1 files changed, 6 insertions, 7 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 7fc5a76..49be1fd 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -4,7 +4,7 @@
"height": 24,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [""],
- "modules-right": ["mpd", "network", "idle_inhibitor", "battery", "memory", "tray", "clock"],
+ "modules-right": ["mpd", "network", "idle_inhibitor", "battery", "custom/storage", "cpu", "memory", "custom/weather", "tray", "clock"],
"sway/mode": {
"format": " {}"
},
@@ -18,7 +18,7 @@
"on-click": "~/./bin/cal.sh"
},
"battery": {
- "format": "{capacity}% {icon} | ",
+ "format": "| {capacity}% {icon} | ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""],
"format-charging": "{capacity}% CHR",
@@ -39,7 +39,6 @@
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected",
- "max-length": 50,
"on-click": "alacritty -e nmtui",
"tooltip": false
},
@@ -70,12 +69,12 @@
"on-click-right": "mpc next"
},
"custom/storage": {
- "format": "{} ",
+ "format": "{}  |",
"format-alt": "{percentage}% ",
"format-alt-click": "click-right",
"return-type": "json",
"interval": 60,
- "exec": "~/.config/waybar/modules/storage.sh"
+ "exec": "$HOME/.config/waybar/modules/storage.sh"
},
"backlight": {
"format": "{icon}",
@@ -86,12 +85,12 @@
"on-scroll-up": "light -U 1"
},
"custom/weather": {
- "format": "{}",
+ "format": "{} |",
"format-alt": "{alt}: {}",
"format-alt-click": "click-right",
"interval": 1800,
"return-type": "json",
- "exec": "~/.config/waybar/modules/weather.sh",
+ "exec": "$HOME/.config/waybar/modules/weather.sh",
"exec-if": "ping wttr.in -c1"
},
"idle_inhibitor": {