diff options
Diffstat (limited to 'awesome/.config/awesome/themes/gruvbox/theme.lua')
-rw-r--r-- | awesome/.config/awesome/themes/gruvbox/theme.lua | 149 |
1 files changed, 80 insertions, 69 deletions
diff --git a/awesome/.config/awesome/themes/gruvbox/theme.lua b/awesome/.config/awesome/themes/gruvbox/theme.lua index 84c96ca..e1cd7e6 100644 --- a/awesome/.config/awesome/themes/gruvbox/theme.lua +++ b/awesome/.config/awesome/themes/gruvbox/theme.lua @@ -1,5 +1,4 @@ -- gruvbox awesome theme --- -- Copyright (C) 2016 Raphael McSinyx -- -- This program is free software: you can redistribute it and/or modify @@ -15,105 +14,117 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -theme = {} +local theme = {} + +-- Working directory (where you place this theme) +theme.wd = "~/.config/awesome/themes/gruvbox/" -theme.font = "Droid Sans Mono Slashed 11" +theme.font = "Space Mono 10" -theme.bg_normal = "#282828" -theme.bg_focus = "#3c3836" -theme.bg_urgent = theme.bg_normal ---theme.bg_minimize = "#444444" -theme.bg_systray = theme.bg_normal +theme.bg_normal = "#fbf1c7" +theme.bg_focus = "#ebdbb2" +theme.bg_urgent = theme.bg_normal +theme.bg_minimize = theme.bg_focus +theme.bg_systray = theme.bg_normal -theme.fg_normal = "#ebdbb2" -theme.fg_focus = theme.fg_normal -theme.fg_urgent = "#d3869b" ---theme.fg_minimize = "#ffffff" +theme.fg_normal = "#3c3836" +theme.fg_focus = theme.fg_normal +theme.fg_urgent = "#8f3f71" +theme.fg_minimize = theme.fg_normal -theme.border_width = 1 -theme.border_normal = "#3c3836" -theme.border_focus = "#b16286" -theme.border_marked = "#91231c" +theme.useless_gap = 0 +theme.border_width = 1 +theme.border_normal = theme.bg_focus +theme.border_focus = "#b16286" +theme.border_marked = "#cc241d" --- There are other variable sets overriding the default one when defined, --- the sets are: +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: -- taglist_[bg|fg]_[focus|urgent|occupied|empty] -- tasklist_[bg|fg]_[focus|urgent] -- titlebar_[bg|fg]_[normal|focus] -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] -- mouse_finder_[color|timeout|animate_timeout|radius|factor] - -theme.titlebar_bg_focus = "#282828" - -mythemedir = "~/.config/awesome/themes/gruvbox/" +-- Example: +--theme.taglist_bg_focus = "#ff0000" -- Display the taglist squares -theme.taglist_squares_sel = mythemedir .. "taglist/squaref.png" -theme.taglist_squares_unsel = mythemedir .. "taglist/square.png" +theme.taglist_squares_sel = theme.wd .. "taglist/squaref.png" +theme.taglist_squares_unsel = theme.wd .. "taglist/square.png" -- Variables set for theming the menu: -- menu_[bg|fg]_[normal|focus] -- menu_[border_color|border_width] -theme.menu_submenu_icon = mythemedir .. "submenu.png" -theme.menu_height = 20 +theme.menu_submenu_icon = theme.wd .. "submenu.png" +theme.menu_height = 22 theme.menu_width = 160 --- You can add as many variables as you wish and access them by using +-- You can add as many variables as +-- you wish and access them by using -- beautiful.variable in your rc.lua --theme.bg_widget = "#cc0000" -- Define the image to load -theme.titlebar_close_button_normal = mythemedir .. "titlebar/normal.png" -theme.titlebar_close_button_focus = mythemedir .. "titlebar/close_focus.png" +theme.titlebar_close_button_normal = theme.wd .. "titlebar/normal.png" +theme.titlebar_close_button_focus = theme.wd .. "titlebar/close.png" + +theme.titlebar_minimize_button_normal = theme.wd .. "titlebar/normal.png" +theme.titlebar_minimize_button_focus = theme.wd .. "titlebar/minimize.png" -theme.titlebar_ontop_button_normal_inactive = mythemedir .. "titlebar/normal.png" -theme.titlebar_ontop_button_focus_inactive = mythemedir .. "titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_active = mythemedir .. "titlebar/normal.png" -theme.titlebar_ontop_button_focus_active = mythemedir .. "titlebar/ontop_focus_active.png" +theme.titlebar_ontop_button_normal_inactive = theme.wd .. "titlebar/normal.png" +theme.titlebar_ontop_button_focus_inactive = theme.wd .. "titlebar/ontop_inactive.png" +theme.titlebar_ontop_button_normal_active = theme.wd .. "titlebar/normal.png" +theme.titlebar_ontop_button_focus_active = theme.wd .. "titlebar/ontop_active.png" -theme.titlebar_sticky_button_normal_inactive = mythemedir .. "titlebar/normal.png" -theme.titlebar_sticky_button_focus_inactive = mythemedir .. "titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_active = mythemedir .. "titlebar/normal.png" -theme.titlebar_sticky_button_focus_active = mythemedir .. "titlebar/sticky_focus_active.png" +theme.titlebar_sticky_button_normal_inactive = theme.wd .. "titlebar/normal.png" +theme.titlebar_sticky_button_focus_inactive = theme.wd .. "titlebar/sticky_inactive.png" +theme.titlebar_sticky_button_normal_active = theme.wd .. "titlebar/normal.png" +theme.titlebar_sticky_button_focus_active = theme.wd .. "titlebar/sticky_active.png" -theme.titlebar_floating_button_normal_inactive = mythemedir .. "titlebar/normal.png" -theme.titlebar_floating_button_focus_inactive = mythemedir .. "titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_active = mythemedir .. "titlebar/normal.png" -theme.titlebar_floating_button_focus_active = mythemedir .. "titlebar/floating_focus_active.png" +theme.titlebar_floating_button_normal_inactive = theme.wd .. "titlebar/normal.png" +theme.titlebar_floating_button_focus_inactive = theme.wd .. "titlebar/floating_inactive.png" +theme.titlebar_floating_button_normal_active = theme.wd .. "titlebar/normal.png" +theme.titlebar_floating_button_focus_active = theme.wd .. "titlebar/floating_active.png" -theme.titlebar_maximized_button_normal_inactive = mythemedir .. "titlebar/normal.png" -theme.titlebar_maximized_button_focus_inactive = mythemedir .. "titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_active = mythemedir .. "titlebar/normal.png" -theme.titlebar_maximized_button_focus_active = mythemedir .. "titlebar/maximized_focus_active.png" +theme.titlebar_maximized_button_normal_inactive = theme.wd .. "titlebar/normal.png" +theme.titlebar_maximized_button_focus_inactive = theme.wd .. "titlebar/maximized_inactive.png" +theme.titlebar_maximized_button_normal_active = theme.wd .. "titlebar/normal.png" +theme.titlebar_maximized_button_focus_active = theme.wd .. "titlebar/maximized_active.png" -theme.wallpaper = mythemedir .. "background.png" +--theme.wallpaper = theme.wd .. "background.png" -- You can use your own layout icons like this: -theme.layout_fairh = mythemedir .. "layouts/fairh.png" -theme.layout_fairv = mythemedir .. "layouts/fairv.png" -theme.layout_floating = mythemedir .. "layouts/floating.png" -theme.layout_magnifier = mythemedir .. "layouts/magnifier.png" -theme.layout_max = mythemedir .. "layouts/max.png" -theme.layout_fullscreen = mythemedir .. "layouts/fullscreen.png" -theme.layout_tilebottom = mythemedir .. "layouts/tilebottom.png" -theme.layout_tileleft = mythemedir .. "layouts/tileleft.png" -theme.layout_tile = mythemedir .. "layouts/tile.png" -theme.layout_tiletop = mythemedir .. "layouts/tiletop.png" -theme.layout_spiral = mythemedir .. "layouts/spiral.png" -theme.layout_dwindle = mythemedir .. "layouts/dwindle.png" - -theme.awesome_icon = mythemedir .. "awesome.png" - --- Define the icon theme for application icons. If not set then the icons from --- /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.layout_fairh = theme.wd .. "layouts/fairh.png" +theme.layout_fairv = theme.wd .. "layouts/fairv.png" +theme.layout_floating = theme.wd .. "layouts/floating.png" +theme.layout_magnifier = theme.wd .. "layouts/magnifier.png" +theme.layout_max = theme.wd .. "layouts/max.png" +theme.layout_fullscreen = theme.wd .. "layouts/fullscreen.png" +theme.layout_tilebottom = theme.wd .. "layouts/tilebottom.png" +theme.layout_tileleft = theme.wd .. "layouts/tileleft.png" +theme.layout_tile = theme.wd .. "layouts/tile.png" +theme.layout_tiletop = theme.wd .. "layouts/tiletop.png" +theme.layout_spiral = theme.wd .. "layouts/spiral.png" +theme.layout_dwindle = theme.wd .. "layouts/dwindle.png" +theme.layout_cornernw = theme.wd .. "layouts/cornernw.png" +theme.layout_cornerne = theme.wd .. "layouts/cornerne.png" +theme.layout_cornersw = theme.wd .. "layouts/cornersw.png" +theme.layout_cornerse = theme.wd .. "layouts/cornerse.png" + +theme.awesome_icon = theme.wd .. "awesome.png" + +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. theme.icon_theme = nil -- Arrows -theme.arrow0 = mythemedir .. "arrows/0.png" -theme.arrow1 = mythemedir .. "arrows/1.png" -theme.arrow2 = mythemedir .. "arrows/2.png" -theme.arrow3 = mythemedir .. "arrows/3.png" -theme.arrow4 = mythemedir .. "arrows/4.png" -theme.arrow5 = mythemedir .. "arrows/5.png" +theme.arrow0 = theme.wd .. "arrows/0.png" +theme.arrow1 = theme.wd .. "arrows/1.png" +theme.arrow2 = theme.wd .. "arrows/2.png" +theme.arrow3 = theme.wd .. "arrows/3.png" +theme.arrow4 = theme.wd .. "arrows/4.png" +theme.arrow5 = theme.wd .. "arrows/5.png" +theme.arrow6 = theme.wd .. "arrows/6.png" return theme |