feat(themes: default): add icons for minimize button
Closes https://github.com/awesomeWM/awesome/pull/394.
This commit is contained in:
parent
475358050a
commit
b3136c1329
|
@ -53,6 +53,8 @@ theme.menu_width = 100
|
||||||
-- Define the image to load
|
-- Define the image to load
|
||||||
theme.titlebar_close_button_normal = "@AWESOME_THEMES_PATH@/default/titlebar/close_normal.png"
|
theme.titlebar_close_button_normal = "@AWESOME_THEMES_PATH@/default/titlebar/close_normal.png"
|
||||||
theme.titlebar_close_button_focus = "@AWESOME_THEMES_PATH@/default/titlebar/close_focus.png"
|
theme.titlebar_close_button_focus = "@AWESOME_THEMES_PATH@/default/titlebar/close_focus.png"
|
||||||
|
theme.titlebar_minimize_button_normal_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/minimize_normal.png"
|
||||||
|
theme.titlebar_minimize_button_focus_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/minimize_focus.png"
|
||||||
|
|
||||||
theme.titlebar_ontop_button_normal_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_normal_inactive.png"
|
theme.titlebar_ontop_button_normal_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_normal_inactive.png"
|
||||||
theme.titlebar_ontop_button_focus_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_focus_inactive.png"
|
theme.titlebar_ontop_button_focus_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_focus_inactive.png"
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 277 B |
Binary file not shown.
After Width: | Height: | Size: 272 B |
|
@ -164,6 +164,7 @@ function theme_assets.recolor_titlebar_normal(theme, color)
|
||||||
'titlebar_floating_button_normal_active',
|
'titlebar_floating_button_normal_active',
|
||||||
'titlebar_maximized_button_normal_inactive',
|
'titlebar_maximized_button_normal_inactive',
|
||||||
'titlebar_maximized_button_normal_active',
|
'titlebar_maximized_button_normal_active',
|
||||||
|
'titlebar_minimize_button_normal_inactive',
|
||||||
}) do
|
}) do
|
||||||
theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color)
|
theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color)
|
||||||
end
|
end
|
||||||
|
@ -181,6 +182,7 @@ function theme_assets.recolor_titlebar_focus(theme, color)
|
||||||
'titlebar_floating_button_focus_active',
|
'titlebar_floating_button_focus_active',
|
||||||
'titlebar_maximized_button_focus_inactive',
|
'titlebar_maximized_button_focus_inactive',
|
||||||
'titlebar_maximized_button_focus_active',
|
'titlebar_maximized_button_focus_active',
|
||||||
|
'titlebar_minimize_button_focus_inactive',
|
||||||
}) do
|
}) do
|
||||||
theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color)
|
theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue