mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-27 11:08:21 +01:00
add librsvg for SVG image
This commit is contained in:
parent
4feda86a14
commit
ae52626948
@ -5,6 +5,7 @@ do_install:append () {
|
||||
# QT related setting
|
||||
export GDK_BACKEND=wayland
|
||||
export XDG_RUNTIME_DIR=/home/$USER/.xdg
|
||||
export XDG_CONFIG_HOME=/etc/xdg/
|
||||
export PATH=$PATH:/home/$USER/bin
|
||||
if [ ! -e "$XDG_RUNTIME_DIR" ]; then
|
||||
mkdir -p "$XDG_RUNTIME_DIR"
|
||||
|
@ -33,6 +33,7 @@ IMAGE_INSTALL:append = "libcurl \
|
||||
glew \
|
||||
freetype \
|
||||
fontconfig \
|
||||
librsvg \
|
||||
gdk-pixbuf \
|
||||
gtk-layer-shell \
|
||||
mesa \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user