feat: add waybar
This commit is contained in:
parent
754b07df67
commit
f04a73cac1
33
config/waybar/config
Normal file
33
config/waybar/config
Normal 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
29
config/waybar/style.css
Normal 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user