From f04a73cac10b7811529c18f6614553ee5ba293ee Mon Sep 17 00:00:00 2001 From: Fernando Araoz Date: Wed, 15 Jan 2025 06:38:04 -0500 Subject: [PATCH] feat: add waybar --- config/waybar/config | 33 +++++++++++++++++++++++++++++++++ config/waybar/style.css | 29 +++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 config/waybar/config create mode 100644 config/waybar/style.css diff --git a/config/waybar/config b/config/waybar/config new file mode 100644 index 0000000..b29c16d --- /dev/null +++ b/config/waybar/config @@ -0,0 +1,33 @@ +{ + "layer": "top", + "position": "top", + "height": 24, + "modules-left": ["river/tags", "river/window"], + "modules-center": [], + "modules-right": ["cpu", "memory", "network", "pulseaudio", "clock"], + + "clock": { + "format": "{:%H:%M}", + "tooltip": false + }, + "cpu": { + "format": "CPU {usage}%", + "interval": 1 + }, + "memory": { + "format": "MEM {}%", + "interval": 1 + }, + "network": { + "format-wifi": "WiFi ({signalStrength}%)", + "format-ethernet": "ETH", + "format-disconnected": "NET ✕" + }, + "pulseaudio": { + "format": "VOL {volume}%", + "format-muted": "MUTED" + }, + "river/tags": { + "num-tags": 9 + } +} diff --git a/config/waybar/style.css b/config/waybar/style.css new file mode 100644 index 0000000..723ece8 --- /dev/null +++ b/config/waybar/style.css @@ -0,0 +1,29 @@ +/* ~/.config/waybar/style.css */ +* { + font-family: monospace; + font-size: 12px; +} + +window#waybar { + background: #282828; + color: #ebdbb2; +} + +#tags button { + padding: 0 5px; + color: #928374; +} + +#tags button.focused { + color: #ebdbb2; + background: #3c3836; +} + +#clock, +#cpu, +#memory, +#network, +#pulseaudio { + padding: 0 10px; +} +