Unbork the default template + fixes some beautiful.colors refs
This commit is contained in:
parent
ba8071b13f
commit
c6e87c11d0
|
@ -46,13 +46,16 @@ local function build_widget(self)
|
|||
layout = rofi_grid_widget,
|
||||
lazy_load_widgets = false,
|
||||
widget_template = wibox.widget {
|
||||
widget = wibox.container.margin,
|
||||
margins = dpi(15),
|
||||
{
|
||||
layout = wibox.layout.fixed.vertical,
|
||||
forced_width = dpi(1000),
|
||||
forced_height = dpi(1000),
|
||||
spacing = dpi(15),
|
||||
{
|
||||
widget = text_input_widget,
|
||||
id = "text_input_role",
|
||||
forced_width = dpi(650),
|
||||
forced_height = dpi(60),
|
||||
reset_on_stop = self.reset_on_hide,
|
||||
placeholder = self.text_input_placeholder,
|
||||
unfocus_keys = { },
|
||||
|
@ -65,15 +68,21 @@ local function build_widget(self)
|
|||
unfocus_on_subject_mouse_leave = nil,
|
||||
widget_template = wibox.widget {
|
||||
widget = wibox.container.background,
|
||||
forced_height = dpi(120),
|
||||
bg = self.text_input_bg_color,
|
||||
{
|
||||
widget = wibox.container.margin,
|
||||
margins = dpi(30),
|
||||
margins = dpi(15),
|
||||
{
|
||||
layout = wibox.layout.stack,
|
||||
{
|
||||
widget = wibox.widget.textbox,
|
||||
id = "placeholder_role",
|
||||
text = "Search: "
|
||||
},
|
||||
{
|
||||
widget = wibox.widget.textbox,
|
||||
text_color = self.text_input_color,
|
||||
id = "text_role"
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -97,16 +106,16 @@ local function build_widget(self)
|
|||
widget = wibox.widget.slider,
|
||||
id = "scrollbar_role",
|
||||
forced_width = dpi(5),
|
||||
forced_height = dpi(10),
|
||||
minimum = 1,
|
||||
value = 1,
|
||||
-- bar_shape = helpers.ui.rrect(),
|
||||
bar_height= 3,
|
||||
bar_color = beautiful.colors.transparent,
|
||||
bar_active_color = beautiful.colors.transparent,
|
||||
bar_color = "#00000000",
|
||||
bar_active_color = "#00000000",
|
||||
handle_width = dpi(50),
|
||||
handle_color = beautiful.bg_normal,
|
||||
-- handle_shape = helpers.ui.rrect(),
|
||||
handle_color = beautiful.colors.on_background
|
||||
handle_color = beautiful.fg_normal
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue