feat: add waybar

This commit is contained in:
Fernando Araoz 2025-01-15 06:38:04 -05:00
parent 754b07df67
commit f04a73cac1
2 changed files with 62 additions and 0 deletions

33
config/waybar/config Normal file
View File

@ -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
}
}

29
config/waybar/style.css Normal file
View File

@ -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;
}