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

View file

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