Waybar config modification

This commit is contained in:
Yorick Barbanneau 2021-09-02 20:32:20 +02:00
parent 6e4dbf670e
commit ac3d20e809
2 changed files with 19 additions and 16 deletions

View file

@ -4,7 +4,7 @@
"disable-toolptips": true, "disable-toolptips": true,
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [], "modules-center": [],
"modules-right": ["network", "temperature", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"], "modules-right": ["network", "temperature", "memory", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"],
"sway/mode": { "sway/mode": {
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\">{}</span>"
}, },
@ -26,15 +26,15 @@
"temperature": { "temperature": {
"thermal-zone": 0, "thermal-zone": 0,
"critical-threshold": 80, "critical-threshold": 80,
"format": "{temperatureC}°C " "format": "{temperatureC}°C  |"
}, },
"cpu": { "cpu": {
"format": "{usage}% ", "format": "{usage}%  |",
"tooltip": false "tooltip": false
}, },
"backlight": { "backlight": {
//"device": "intel_backlight", //"device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon} |",
"format-icons": ["", ""], "format-icons": ["", ""],
"tooltip": false "tooltip": false
}, },
@ -53,18 +53,18 @@
}, },
"network": { "network": {
"tooltip": false, "tooltip": false,
"format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "{essid} ({signalStrength}%)  |",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ", "format-ethernet": "{ifname}: {ipaddr}/{cidr}  |",
"format-linked": "{ifname} (No IP) ", "format-linked": "{ifname} (No IP)  |",
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠ |",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "format-alt": "{ifname}: {ipaddr}/{cidr} |"
}, },
"pulseaudio": { "pulseaudio": {
"tooltip": false, "tooltip": false,
"format": "{volume}% {icon}", "format": "{volume}% {icon} |",
"format-bluetooth": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon} |",
"format-muted": "", "format-muted": "",
"format-source": "{volume}% ", "format-source": "{volume}%  |",
"format-source-muted": "", "format-source-muted": "",
"format-icons": { "format-icons": {
"headphones": "", "headphones": "",
@ -73,8 +73,11 @@
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",
"default": ["", "", ""] "default": "墳"
}
},
"memory": {
"interval": 30,
"format": "{used:0.1f}G/{total:0.1f}G "
} }
} }
}

View file

@ -2,7 +2,7 @@
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: "FuraCode Nerd Font"; font-family: "FuraCode Nerd Font";
font-size: 13px; font-size: 16px;
min-height:0; min-height:0;
} }