Increase font size on laptop

This commit is contained in:
Damien Broqua 2021-11-27 09:54:33 +01:00
parent 2e6c8b5601
commit 2ed2926ce0
2 changed files with 13 additions and 4 deletions

View file

@ -190,7 +190,7 @@
"interval": 60, "interval": 60,
"states": { "states": {
"warning": 40, "warning": 40,
"critical": 20 "critical": 25
}, },
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""], "format-icons": ["", "", "", "", ""],
@ -204,14 +204,16 @@
"format-ethernet": "{ifname} ", "format-ethernet": "{ifname} ",
"format-disconnected": "", //An empty format will hide the module. "format-disconnected": "", //An empty format will hide the module.
"max-length": 50, "max-length": 50,
"tooltip": true "tooltip": true,
"interval": 60,
}, },
"network#openvpn": { "network#openvpn": {
"interface": "tun0", "interface": "tun0",
"format": "🔒", "format": "🔒",
"format-disconnected": "🔓", //An empty format will hide the module. "format-disconnected": "🔓", //An empty format will hide the module.
"max-length": 50, "max-length": 50,
"tooltip": true "tooltip": true,
"interval": 60,
}, },
"cpu": { "cpu": {
"format": " {load}%", "format": " {load}%",

View file

@ -1,5 +1,4 @@
* { * {
font-size: 11px;
font-family: "Font Awesome 5 Free"; font-family: "Font Awesome 5 Free";
} }
@ -10,6 +9,14 @@ window#waybar {
border-radius: 4px; border-radius: 4px;
} }
window#waybar.thinkpad {
font-size: 11px;
}
window#waybar.laptop {
font-size: 14px;
}
/* Base styling for modules */ /* Base styling for modules */
#workspaces, #workspaces,
#mode, #mode,