Improved scaling
Размеры теперь в относительные единицах. Высота бара зависит от размера шрифта.
This commit is contained in:
35
config
35
config
@@ -2,7 +2,7 @@
|
||||
"reload_style_on_change": true,
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar at the bottom of your screen
|
||||
"height": 20, // Waybar height
|
||||
// Bar height is based on the css font size. Don't forget to change the tray icon size!
|
||||
// "width": 1366, // Waybar width
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["hyprland/workspaces", "tray", "hyprland/language"],
|
||||
@@ -18,10 +18,11 @@
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"active-only": false,
|
||||
"show-special": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"icon-size": 17,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
@@ -43,10 +44,10 @@
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% "
|
||||
"format": "{usage}% "
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% "
|
||||
"format": "{}% "
|
||||
},
|
||||
"battery": {
|
||||
"interval": 5,
|
||||
@@ -58,27 +59,27 @@
|
||||
"format": "{capacity}% {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
"format-icons": [" ", " ", " ", " ", " "]
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2s0", // (Optional) To force the use of this interface
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"format-disconnected": "Disconnected ⚠"
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"format-disconnected": "Disconnected ⚠ "
|
||||
},
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1,
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
"format-bluetooth": "{volume}% {icon} ",
|
||||
"format-muted": " ",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", ""]
|
||||
"headphones": " ",
|
||||
"handsfree": " ",
|
||||
"headset": " ",
|
||||
"phone": " ",
|
||||
"portable": " ",
|
||||
"car": " ",
|
||||
"default": [" ", " "]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user