From b3136c1329cbc290891a384f88fef9282633474d Mon Sep 17 00:00:00 2001 From: actionless Date: Thu, 6 Aug 2015 21:39:09 +0200 Subject: [PATCH] feat(themes: default): add icons for minimize button Closes https://github.com/awesomeWM/awesome/pull/394. --- themes/default/theme.lua | 2 ++ themes/default/titlebar/minimize_focus.png | Bin 0 -> 277 bytes themes/default/titlebar/minimize_normal.png | Bin 0 -> 272 bytes themes/xresources/assets.lua | 2 ++ 4 files changed, 4 insertions(+) create mode 100644 themes/default/titlebar/minimize_focus.png create mode 100644 themes/default/titlebar/minimize_normal.png diff --git a/themes/default/theme.lua b/themes/default/theme.lua index 65b686ac..1557c626 100644 --- a/themes/default/theme.lua +++ b/themes/default/theme.lua @@ -53,6 +53,8 @@ theme.menu_width = 100 -- Define the image to load 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_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_focus_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_focus_inactive.png" diff --git a/themes/default/titlebar/minimize_focus.png b/themes/default/titlebar/minimize_focus.png new file mode 100644 index 0000000000000000000000000000000000000000..ff427b36f616c0243ec05544db08ce78fce05340 GIT binary patch literal 277 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHj>ko3Ij7ZnahtP-u~-i(^Q|t+&@UavnAiU=5fn9qyOE zb_VMl&P|SPTYj%7TKeT63p-Ee#pAt0`Wav L{an^LB{Ts5esO19 literal 0 HcmV?d00001 diff --git a/themes/default/titlebar/minimize_normal.png b/themes/default/titlebar/minimize_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..aa4744730757534a7d4be08b406e12fe0f4f9ec1 GIT binary patch literal 272 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHj>ko3N_Rzc(ARfI@RUT^vIyZoR#Bkn@m%2-}1GN)<(0 z$^^w%2)|&_yL7SWm1f*httAf@9(`}kdP$|$UU3f#P!|yVbGrWPp^5KwmF+6ek6zi+ zXyvE>I4E1TJ+Weoj?FrYC&3?2AKw1pPU&4+&tQgjQ|b3F(#-$Aet7>r10#n615-w5 zSxETLN`|f13e^>-s9c|4-W0#<@LE&Hm%r=yAU5o&WJ-t<-;%lHP#s9X)78&qol`;+ E08>L`*8l(j literal 0 HcmV?d00001 diff --git a/themes/xresources/assets.lua b/themes/xresources/assets.lua index 7c80a25e..98803078 100644 --- a/themes/xresources/assets.lua +++ b/themes/xresources/assets.lua @@ -164,6 +164,7 @@ function theme_assets.recolor_titlebar_normal(theme, color) 'titlebar_floating_button_normal_active', 'titlebar_maximized_button_normal_inactive', 'titlebar_maximized_button_normal_active', + 'titlebar_minimize_button_normal_inactive', }) do theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color) end @@ -181,6 +182,7 @@ function theme_assets.recolor_titlebar_focus(theme, color) 'titlebar_floating_button_focus_active', 'titlebar_maximized_button_focus_inactive', 'titlebar_maximized_button_focus_active', + 'titlebar_minimize_button_focus_inactive', }) do theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color) end