waybar: add battery widget, add Inter Nerd Font
This commit is contained in:
parent
55b7918f24
commit
e90d8498e8
|
@ -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": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
* {
|
||||
font-size: 18px;
|
||||
font-family: Inter;
|
||||
font-family: 'Inter Nerd Font';
|
||||
font-weight: bold;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue