amelioration de la barre d'informations
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": ["sway/workspaces"],
|
"modules-left": ["image", "sway/workspaces"],
|
||||||
"modules-center" : ["cpu", "memory", "disk", "pulseaudio", "battery", "network"],
|
"modules-center" : ["cpu", "memory", "disk", "pulseaudio", "battery", "network"],
|
||||||
"modules-right": ["clock"],
|
"modules-right": ["clock"],
|
||||||
|
"image":{
|
||||||
|
"path": "/home/thomas/Pictures/alpidebian.png",
|
||||||
|
"size": 20,
|
||||||
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": "[CPU : {avg_frequency}%]"
|
"format": "[CPU : {avg_frequency}%]"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,20 +1,49 @@
|
|||||||
* {
|
* {
|
||||||
margin-left: 5px;
|
margin: 0px;
|
||||||
margin-right: 5px;
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar{
|
window#waybar{
|
||||||
border-radius: 20px 20px 20px 20px;
|
border-radius: 20px 20px 20px 20px;
|
||||||
background: grey;
|
background: CornflowerBlue;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button{
|
#workspaces button{
|
||||||
color: white;
|
border-radius: 20px 20px 20px 20px;
|
||||||
}
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
#workspaces button:hover{
|
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;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user