amelioration de la barre d'informations

This commit is contained in:
2026-03-20 22:57:23 +01:00
parent e26c068d84
commit ef8c6aac09
2 changed files with 41 additions and 8 deletions

View File

@@ -1,9 +1,13 @@
{
"layer": "top",
"position": "top",
"modules-left": ["sway/workspaces"],
"modules-left": ["image", "sway/workspaces"],
"modules-center" : ["cpu", "memory", "disk", "pulseaudio", "battery", "network"],
"modules-right": ["clock"],
"image":{
"path": "/home/thomas/Pictures/alpidebian.png",
"size": 20,
},
"cpu": {
"format": "[CPU : {avg_frequency}%]"
},

View File

@@ -1,20 +1,49 @@
* {
margin-left: 5px;
margin-right: 5px;
margin: 0px;
margin-left: 0px;
margin-right: 0px;
font-family: sans-serif;
font-size: 14px;
}
window#waybar{
border-radius: 20px 20px 20px 20px;
background: grey;
background: CornflowerBlue;
color: white;
}
#workspaces button{
color: white;
}
#workspaces button:hover{
border-radius: 20px 20px 20px 20px;
padding-left: 8px;
padding-right: 8px;
background-color: white;
color: black;
}
#clock {
margin-right: 10px;
border-radius: 20px 20px 20px 20px;
padding-left: 10px;
padding-right: 10px;
background-color: white;
color: black;
}
#image {
margin-left: 0px;
margin-right: 0px;
border-style: solid;
border-width: 1px;
border-color: white;
border-radius: 20px 20px 20px 20px;
padding-left: 8px;
padding-right: 8px;
}
.modules-center{
border-radius: 20px 20px 20px 20px;
padding-left: 10px;
padding-right: 10px;
background-color: white;
color: black;
}