titlebar icons
This commit is contained in:
parent
87244e45d9
commit
0feaa35dbd
8 changed files with 425 additions and 28 deletions
|
@ -71,31 +71,7 @@ theme.menu_width = dpi(100)
|
|||
--theme.bg_widget = "#cc0000"
|
||||
|
||||
-- Define the image to load
|
||||
theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png"
|
||||
theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png"
|
||||
|
||||
theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png"
|
||||
theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png"
|
||||
|
||||
theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png"
|
||||
theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png"
|
||||
theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png"
|
||||
theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png"
|
||||
|
||||
theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png"
|
||||
theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png"
|
||||
theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png"
|
||||
theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png"
|
||||
|
||||
theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png"
|
||||
theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png"
|
||||
theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png"
|
||||
theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png"
|
||||
|
||||
theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png"
|
||||
theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png"
|
||||
theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png"
|
||||
theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png"
|
||||
|
||||
theme.wallpaper = "/home/sajenim/.config/awesome/theme/assets/chinatown.png"
|
||||
|
||||
|
@ -134,6 +110,27 @@ rnotification.connect_signal('request::rules', function()
|
|||
}
|
||||
end)
|
||||
|
||||
--
|
||||
-- FIX: Everthing above this line is default
|
||||
--
|
||||
|
||||
-- Titlebars
|
||||
local icon_dir = gfs.get_configuration_dir() .. "/icons/titlebar/"
|
||||
|
||||
-- Minimize
|
||||
theme.titlebar_minimize_button_normal = icon_dir .. "minimize_normal.svg"
|
||||
theme.titlebar_minimize_button_focus = icon_dir .. "minimize_focus.svg"
|
||||
|
||||
-- Maximized
|
||||
theme.titlebar_maximized_button_normal_inactive = icon_dir .. "maximized_normal.svg"
|
||||
theme.titlebar_maximized_button_focus_inactive = icon_dir .. "maximized_focus.svg"
|
||||
theme.titlebar_maximized_button_normal_active = icon_dir .. "maximized_normal.svg"
|
||||
theme.titlebar_maximized_button_focus_active = icon_dir .. "maximized_focus.svg"
|
||||
|
||||
-- Close
|
||||
theme.titlebar_close_button_normal = icon_dir .. "close_normal.svg"
|
||||
theme.titlebar_close_button_focus = icon_dir .. "close_focus.svg"
|
||||
|
||||
return theme
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue