(sfwbar:14563): GLib-CRITICAL **: 14:50:57.867: g_hash_table_lookup: assertion 'hash_table != NULL' failed
14:50:58.17 flow_grid_update: assertion 'IS_FLOW_GRID(self)' failed
14:50:58.27 flow_grid_update: assertion 'IS_FLOW_GRID(self)' failed
The glib error is from previous versions back to beta6 as well. Just haven't had the time to report.
I'll post my configs too.
# main config
# stock puppy sfwbar.config
menu("winops") {
item("focus", Focus );
item("close", Close );
item("(un)minimize", Function "ToggleMinimize" );
item("(un)maximize", Function "ToggleMaximize" );
}
function("ToggleMinimize") {
[!Minimized] Minimize
[Minimized] UnMinimize
}
function("ToggleMaximize") {
[!Maximized] Maximize
[Maximized] UnMaximize
}
function("SfwbarInit") {
SetLayer "bottom"
SetMonitor "DVI-D-1"
}
# Panel layout
layout {
style = frame
button {
value = "/usr/share/pixmaps/puppy/puppy.svg"
action = "killall -usr1 altf1d" # launch menu on click
tooltip = "Launch menu"
css = "* { min-height: 24px; min-width: 48px; }"
}
image {
value = "terminal"
action = "defaultterminal"
tooltip = "Launch terminal"
css = "* { min-height: 24px; min-width: 24px; padding: 5px; }"
}
image {
value = "browser"
action = "defaultbrowser"
tooltip = "Launch browser"
css = "* { padding: 5px; }"
}
image {
value = "directory"
action = "defaultfilemanager"
tooltip = "Launch file manager"
css = "* { min-height: 24px; min-width: 24px; padding: 5px; }"
}
taskbar {
rows = 1
css = "* { -GtkWidget-hexpand: true; }" # stretch horizontally
icons = true
labels = true
action[3] = Menu "winops"
}
include("pupnet.widget")
image {
value = "audio-volume-high"
action[1] = "ppavolume"
action[2] = "fix_sound_crash"
action[3] = "pavucontrol"
tooltip = "Volume control"
css = "* { min-height: 24px; min-width: 24px; padding: 4px; }"
}
include("idle.widget")
include("temp.widget")
include("clock.widget")
image {
value = "shutdown"
action = "logout_gui"
tooltip = "Logout"
css = "* { min-height: 24px; min-width: 24px; padding: 4px; }"
}
}
#CSS
window {
-GtkWidget-direction: top;
border-radius: 6px;
color: rgba(17, 17, 17, 0.73);
}
button#taskbar_normal image, button#taskbar_active image, button#taskbar_normal:hover image {
background-color: rgba(0, 0, 0, 0.0);
min-width: 0.4cm;
min-height: 0.4cm;
}
button#taskbar_normal label, button#taskbar_active label, button#taskbar_normal:hover label {
background-color: rgba(0, 0, 0, 0.0);
-GtkWidget-vexpand: true;
padding-left: 0.5mm;
padding-top: 0px;
padding-bottom: 0px;
font: 10pt Sans;
}
button#taskbar_normal , button#taskbar_active , button#taskbar_normal:hover {
padding: 3px;
border: 0.5px;
}
button#pager_normal , button#pager_visible , button#pager_focused {
background-color: rgba(0, 0, 0, 0.0);
padding-left: 1.25mm;
padding-right: 1.25mm;
padding-top: 0.5mm;
padding-bottom: 0.5mm;
background-image: none;
border-radius: 0;
border-image: none;
font: 10pt Sans;
}
button#pager_focused {
background-color: #bbddff;
}
button#pager_preview {
background-color: rgba(0, 0, 0, 0.0);
background-image: none;
border-radius: 0;
border-image: none;
border-color: #000000;
border-width: 0.25mm;
color: #777777;
min-width: 5cm;
min-height: 1.4125cm;
}
button#taskbar_normal:hover {
background-color: #BF892B;
}
button#menu {
background-color: transparent;
border: 1px solid transparent;
padding: 3px;
}
grid#pager {
outline-color: #000000;
outline-style: dashed;
outline-width: 0.25mm;
}
grid#switcher_active *, grid#switcher_active, grid#switcher_active * * {
min-width: 0.5cm;
min-height: 0.5cm;
border-image: none;
padding: 1.25mm;
background-color: #bbddff;
border-radius: 1.25mm;
}
grid#switcher_normal *, grid#switcher_normal, grid#switcher_normal * * {
min-width: 0.5cm;
min-height: 0.5cm;
border-image: none;
padding: 0.5mm;
}
window#switcher {
border-style: solid;
border-width: 0.25mm;
border-color: #000000;
border-radius: 1.25mm;
padding: 1.25mm;
-GtkWidget-hexpand: true;
}
grid#switcher {
border-radius: 1.25mm;
padding: 1.25mm;
}
image#tray_active, image#tray_passive, image#tray_attention {
min-width: 1cm;
min-height: 1cm;
}
progressbar {
padding-left: 0.25mm;
padding-right: 0.25mm;
-GtkWidget-vexpand: true;
-GtkWidget-direction: top;
}
progress, trough {
border-radius: 0;
border-color: #9c9c9c;
}
progress {
border-style: outset;
min-width: 2mm;
}
trough {
background-color: #a1a1a1;
border-style: inset;
min-height: 2.5mm;
min-width: 2.5mm;
}
grid#frame {
-GtkWidget-direction: bottom;
min-width: 1cm;
border-color: #9c9c9c;
border-style: groove;
border-width: 0.5mm;
padding-top: 0.25mm;
}
grid#layout {
padding: 0.25mm;
-GtkWidget-direction: right;
}
label#value {
min-width: 1cm;
-GtkWidget-hexpand: true;
-GtkWidget-align: 0.5;
}
image#value_icon {
padding: 0.1cm;
min-width: 16px;
min-height: 16px;
}
button {
padding: 3px;
border-width: 0.5px;
border-radius: 6px;
}
# launcher config
# runs with:
# sfwbar -f /tmp/sfw
function("SfwbarInit") {
SetLayer "bottom"
SetMonitor "DVI-D-1"
SetBarSize "160"
}
layout {
style = frame
grid {
css = "* { -GtkWidget-direction: bottom; }"
button {
value = "directory-home"
action = "defaultfilemanager"
tooltip = "File Manager"
css = "* { min-height: 36px; min-width: 28px; margin: 3px; }"
}
button {
value = "edit"
action = "defaulttexteditor"
tooltip = "Text Editor"
css = "* { min-height: 36px; min-width: 28px; margin: 3px; }"
}
button {
value = "browser"
action = "defaultbrowser"
tooltip = "Browser"
css = "* { min-height: 36px; min-width: 28px; margin: 3px; }"
}
button {
value = "mail"
action = "defaultemail"
tooltip = "Email"
css = "* { min-height: 36px; min-width: 28px; margin: 3px; }"
}
button {
value = "paint"
action = "defaultpaint"
tooltip = "Paint"
css = "* { min-height: 36px; min-width: 28px; margin: 3px; }"
}
button {
value = "terminal"
action = "defaultterminal"
tooltip = "Terminal"
css = "* { min-height: 36px; min-width: 28px; margin: 3px; }"
}
}
}
#CSS
window {
-GtkWidget-direction:left;
border-radius: 6px;
background-color: rgba(17, 17, 17, 0.333);
}