diff --git a/recipes-core/base-files/base-files_%.bbappend b/recipes-core/base-files/base-files_%.bbappend index b6e1be7..7ad159e 100644 --- a/recipes-core/base-files/base-files_%.bbappend +++ b/recipes-core/base-files/base-files_%.bbappend @@ -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" diff --git a/recipes-core/images/core-image-minimal.bbappend b/recipes-core/images/core-image-minimal.bbappend index d8d38b9..bf5915e 100644 --- a/recipes-core/images/core-image-minimal.bbappend +++ b/recipes-core/images/core-image-minimal.bbappend @@ -33,6 +33,7 @@ IMAGE_INSTALL:append = "libcurl \ glew \ freetype \ fontconfig \ + librsvg \ gdk-pixbuf \ gtk-layer-shell \ mesa \ diff --git a/recipes-support/sfwbar/files/sfwbar.config b/recipes-support/sfwbar/files/sfwbar.config index e13c800..6b93f44 100644 --- a/recipes-support/sfwbar/files/sfwbar.config +++ b/recipes-support/sfwbar/files/sfwbar.config @@ -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;