1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

add librsvg for SVG image

This commit is contained in:
DanyLE
2023-07-27 14:42:12 +02:00
parent 4feda86a14
commit ae52626948
3 changed files with 44 additions and 2 deletions

View File

@ -101,7 +101,7 @@ layout {
}
taskbar "target" {
rows = 1
css = "* { -GtkWidget-hexpand: false; }" # stretch horizontally
css = "* { -GtkWidget-hexpand:false; }" # stretch horizontally
icons = true
group = false
sort = false
@ -109,10 +109,15 @@ layout {
action[3] = Menu "winops"
action[2] = Close
}
label {
css = "* { -GtkWidget-hexpand: true; }"
}
tray {
rows = 1
}
include("network-module.widget")
include("cpu.widget")
include("memory.widget")
}
#CSS
@ -270,6 +275,41 @@ menu image {
padding-right: 5px;
}
chart#cpu_chart {
background: rgba(127,127,127,0.3);
min-width: 9px;
-GtkWidget-vexpand: true;
margin: 2px;
border: 1px solid @theme_fg_color;
color: red;
}
progressbar#memory {
-GtkWidget-direction: top;
-GtkWidget-vexpand: true;
min-width: 9px;
border: 1px solid @theme_fg_color;
margin: 2px;
}
progressbar#memory trough {
min-height: 2px;
min-width: 9px;
border: none;
border-radius: 0px;
background: rgba(127,127,127,0.3);
}
progressbar#memory progress {
-GtkWidget-hexpand: true;
min-width: 9px;
border-radius: 0px;
border: none;
margin: 0px;
background-color: alpha(green,0.9);
}
label {
font: 0.27cm Sans;
color: #ffffff;