aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/waybar/config.jsonc
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:57 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:57 +0100
commit25a32495bd953ffcbfe6c71c24c0f9f6e4eeb103 (patch)
tree6bb0a55bab3857acea431ecd5010a6edc7fa8239 /home/.config/waybar/config.jsonc
parent100f6d3a9a018b52cc229b119ff979ab42d6da9d (diff)
downloaddotfiles-25a32495bd953ffcbfe6c71c24c0f9f6e4eeb103.tar.gz
dotfiles-25a32495bd953ffcbfe6c71c24c0f9f6e4eeb103.tar.bz2
dotfiles-25a32495bd953ffcbfe6c71c24c0f9f6e4eeb103.zip
feat: add waybar status bar config
- Gruvbox dark themed bar replacing polybar - Modules: workspaces, cpu, memory, temperature, network, battery, pulseaudio, clock, tray
Diffstat (limited to 'home/.config/waybar/config.jsonc')
-rw-r--r--home/.config/waybar/config.jsonc67
1 files changed, 67 insertions, 0 deletions
diff --git a/home/.config/waybar/config.jsonc b/home/.config/waybar/config.jsonc
new file mode 100644
index 0000000..f3b0813
--- /dev/null
+++ b/home/.config/waybar/config.jsonc
@@ -0,0 +1,67 @@
+{
+ "layer": "top",
+ "height": 24,
+ "spacing": 0,
+
+ "modules-left": ["sway/workspaces", "sway/mode"],
+ "modules-center": ["sway/window"],
+ "modules-right": ["pulseaudio", "cpu", "memory", "temperature", "network", "battery", "clock", "tray"],
+
+ "sway/workspaces": {
+ "disable-scroll": true
+ },
+
+ "sway/window": {
+ "max-length": 60
+ },
+
+ "cpu": {
+ "format": "CPU {usage}%",
+ "interval": 5,
+ "tooltip": false
+ },
+
+ "memory": {
+ "format": "MEM {}%",
+ "interval": 10,
+ "tooltip-format": "{used:0.1f}G / {total:0.1f}G"
+ },
+
+ "temperature": {
+ "format": "{temperatureC}°C",
+ "critical-threshold": 80
+ },
+
+ "network": {
+ "format-wifi": "{essid} ({signalStrength}%)",
+ "format-ethernet": "{ifname}",
+ "format-disconnected": "disconnected",
+ "tooltip-format": "{ifname}: {ipaddr}/{cidr}"
+ },
+
+ "battery": {
+ "format": "BAT {capacity}%",
+ "format-charging": "CHR {capacity}%",
+ "format-plugged": "PLG {capacity}%",
+ "states": {
+ "warning": 30,
+ "critical": 15
+ }
+ },
+
+ "pulseaudio": {
+ "format": "VOL {volume}%",
+ "format-muted": "MUTE",
+ "scroll-step": 5,
+ "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
+ },
+
+ "clock": {
+ "format": "{:%a %d %b %H:%M}",
+ "tooltip-format": "{:%Y-%m-%d %H:%M:%S}"
+ },
+
+ "tray": {
+ "spacing": 8
+ }
+}