You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
i just got the feeling that this is not how it should look, at all.
for bling i'm using the latest commit to master.
the code of the task preview widget i used:
bling.widget.task_preview.enable {
height=200, -- The height of the popupwidth=300, -- The width of the popupplacement_fn=function(c) -- Place the widget using awful.placement (this overrides x & y)awful.placement.top(c, {
margins= {
top=30
}
})
end
}
the code of the tasklist itself:
-- Create a tasklist widgets.mytasklist=awful.widget.tasklist {
screen=s,
filter=awful.widget.tasklist.filter.currenttags,
buttons=tasklist_buttons,
style= {
shape=function(cr, width, height) gears.shape.rectangle(cr, width, height, height/4) end,
},
layout= {
spacing=5,
layout=wibox.layout.fixed.horizontal
},
widget_template= {
{
{
{
id='clienticon',
widget=awful.widget.clienticon,
},
left=6,
right=6,
top=1,
bottom=1,
widget=wibox.container.margin
},
id='background_role',
widget=wibox.container.background,
},
create_callback=function(self, c, index, objects) --luacheck: no unused argsself:get_children_by_id('clienticon')[1].client=c-- BLING: Toggle the popup on hover and disable it off hoverself:connect_signal('mouse::enter', function()
awesome.emit_signal("bling::task_preview::visibility", s,
true, c)
end)
self:connect_signal('mouse::leave', function()
awesome.emit_signal("bling::task_preview::visibility", s,
false, c)
end)
end,
layout=wibox.layout.align.vertical,
},
}
any idea where did i screw up?
The text was updated successfully, but these errors were encountered:
i just got the feeling that this is not how it should look, at all.
for bling i'm using the latest commit to master.
the code of the task preview widget i used:
the code of the tasklist itself:
any idea where did i screw up?
The text was updated successfully, but these errors were encountered: