waybar: add battery widget, add Inter Nerd Font

This commit is contained in:
Inhji 2022-12-22 21:10:50 +01:00
parent 55b7918f24
commit e90d8498e8
2 changed files with 14 additions and 9 deletions

View File

@ -5,8 +5,8 @@
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": ["clock"],
"modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio"],
"modules-center": [],
"modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "battery", "clock"],
"sway/window": {
},
"sway/mode": {
@ -37,14 +37,19 @@
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C"
},
"battery": {
"bat": "8xlifepo4",
"interval": 30,
"format": " {}%"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "NET {essid} {signalStrength}%",
//"format-ethernet": "NET {ifname}: {ipaddr}/{cidr}",
"format-ethernet": "NET {ifname}",
"format-linked": "NET {ifname} NO IP",
"format-disconnected": "NET ×",
"format": "NET ×",
"format-wifi": " {essid} {signalStrength}%",
//"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
"format-ethernet": " {ifname}",
"format-linked": " {ifname} NO IP",
"format-disconnected": " ×",
"format": " ×",
"on-click": "xfce4-terminal -e nmtui --title nmtui"
},
"pulseaudio": {

View File

@ -1,6 +1,6 @@
* {
font-size: 18px;
font-family: Inter;
font-family: 'Inter Nerd Font';
font-weight: bold;
border-radius: 0;
}