--[[ Custom II --]] local gears = require("gears") local dpi = require("beautiful").xresources.apply_dpi --- | Base theme | --- local theme = {} theme.confdir = os.getenv("HOME") .. "/.config/awesome/themes/customII" --theme.font = "GohuFont Powerline Bold 9" theme.font_family = "GohuFont " theme.font_family_powerline = theme.font_family .. "Powerline " theme.font = theme.font_family_powerline .. "Bold 9" theme.submenu_icon = theme.confdir .. "/icons/submenu.png" theme.mode = "dark" theme.text_color = theme.mode == "dark" and "#f4feff" or "#181B27" theme.background_color = theme.mode == "dark" and "#181B27" or "#f4feff" theme.danger_background = "#db5853" theme.danger_foreground = "#751d1a" theme.bg_normal = theme.background_color theme.bg_focus = "#393F4F" theme.bg_urgent = "#2b90d9" theme.fg_normal = "#839496" theme.fg_focus = "#ffffff" theme.fg_urgent = "#cb4b16" theme.fg_minimize = "#OOOOOO" theme.fg_black = "#424242" theme.fg_red = "#dc322f" theme.fg_green = "#859900" theme.fg_yellow = "#b58900" theme.fg_blue = "#268bd2" theme.fg_magenta = "#d33682" theme.fg_cyan = "#2aa198" theme.fg_white = "#aaaaaa" theme.fg_blu = "#8ebdde" theme.border_width = "4" theme.border_normal = theme.background_color theme.border_focus = "#ffd300" theme.border_marked = "#3ca4d8" --- | menu | --- theme.menu_height = "15" theme.menu_width = "100" theme.menu_border_width = "0" theme.menu_fg_normal = "#839496" theme.menu_fg_focus = "#FFFFFF" theme.menu_bg_normal = theme.background_color theme.menu_bg_focus = theme.background_color --- | widget | --- theme.widget_temp = theme.confdir .. "/icons/temp.png" theme.widget_uptime = theme.confdir .. "/icons/ac.png" theme.widget_cpu = theme.confdir .. "/icons/cpu.png" theme.widget_weather = theme.confdir .. "/icons/dish.png" theme.widget_fs = theme.confdir .. "/icons/fs.png" theme.widget_mem = theme.confdir .. "/icons/mem.png" theme.widget_fs = theme.confdir .. "/icons/fs.png" theme.widget_note = theme.confdir .. "/icons/note.png" theme.widget_note_on = theme.confdir .. "/icons/note_on.png" theme.widget_netdown = theme.confdir .. "/icons/net_down.png" theme.widget_netup = theme.confdir .. "/icons/net_up.png" theme.widget_mail = theme.confdir .. "/icons/mail.png" theme.widget_batt = theme.confdir .. "/icons/bat.png" theme.widget_clock = theme.confdir .. "/icons/clock.png" theme.widget_vol = theme.confdir .. "/icons/spkr.png" theme.awesome_icon = theme.confdir .. "/icons/starthere.png" --- | taglist | --- --theme.taglist_font = --theme.taglist_squares_sel = theme.confdir .. "/taglist/squarefw.png" --theme.taglist_squares_unsel = theme.confdir .. "/taglist/squarew.png" theme.taglist_squares_sel = theme.confdir .. "/icons/square_a.png" theme.taglist_squares_unsel = theme.confdir .. "/icons/square_b.png" --- | tasklist | --- theme.tasklist_disable_icon = true theme.tasklist_floating = "" theme.tasklist_maximized_horizontal = "" theme.tasklist_maximized_vertical = "" theme.tasklist_bg_normal = theme.background_color theme.tasklist_bg_focus = theme.background_color --- | titlebar | --- theme.titlebar_close_button_normal = theme.confdir .. "/titlebar/close_normal.png" theme.titlebar_close_button_focus = theme.confdir .. "/titlebar/close_focus.png" theme.titlebar_minimize_button_normal = theme.confdir .. "/titlebar/minimize_normal.png" theme.titlebar_minimize_button_focus = theme.confdir .. "/titlebar/minimize_focus.png" theme.titlebar_ontop_button_normal_inactive = theme.confdir .. "/titlebar/ontop_normal_inactive.png" theme.titlebar_ontop_button_focus_inactive = theme.confdir .. "/titlebar/ontop_focus_inactive.png" theme.titlebar_ontop_button_normal_active = theme.confdir .. "/titlebar/ontop_normal_active.png" theme.titlebar_ontop_button_focus_active = theme.confdir .. "/titlebar/ontop_focus_active.png" theme.titlebar_sticky_button_normal_inactive = theme.confdir .. "/titlebar/sticky_normal_inactive.png" theme.titlebar_sticky_button_focus_inactive = theme.confdir .. "/titlebar/sticky_focus_inactive.png" theme.titlebar_sticky_button_normal_active = theme.confdir .. "/titlebar/sticky_normal_active.png" theme.titlebar_sticky_button_focus_active = theme.confdir .. "/titlebar/sticky_focus_active.png" theme.titlebar_floating_button_normal_inactive = theme.confdir .. "/titlebar/floating_normal_inactive.png" theme.titlebar_floating_button_focus_inactive = theme.confdir .. "/titlebar/floating_focus_inactive.png" theme.titlebar_floating_button_normal_active = theme.confdir .. "/titlebar/floating_normal_active.png" theme.titlebar_floating_button_focus_active = theme.confdir .. "/titlebar/floating_focus_active.png" theme.titlebar_maximized_button_normal_inactive = theme.confdir .. "/titlebar/maximized_normal_inactive.png" theme.titlebar_maximized_button_focus_inactive = theme.confdir .. "/titlebar/maximized_focus_inactive.png" theme.titlebar_maximized_button_normal_active = theme.confdir .. "/titlebar/maximized_normal_active.png" theme.titlebar_maximized_button_focus_active = theme.confdir .. "/titlebar/maximized_focus_active.png" --- | Notifications | --- theme.notification_max_width = dpi(640) theme.notification_max_height = dpi(160) theme.notification_font = theme.font_family .. "Regular 10" theme.notification_bg = theme.background_color theme.notification_fg = theme.text_color theme.notification_border_width = dpi(1) theme.notification_border_color = theme.background_color theme.notification_opacity = 0.8 theme.notification_spacing = dpi(10) theme.notification_icon_size = dpi(48) theme.notification_shape = function(cr, width, height) gears.shape.rounded_rect(cr, width, height, 7) end --]] -- | layout | -- theme.layout_tile = theme.confdir .. "/icons/tile.png" theme.layout_tilegaps = theme.confdir .. "/icons/tilegaps.png" theme.layout_tileleft = theme.confdir .. "/icons/tileleft.png" theme.layout_tilebottom = theme.confdir .. "/icons/tilebottom.png" theme.layout_tiletop = theme.confdir .. "/icons/tiletop.png" theme.layout_fairv = theme.confdir .. "/icons/fairv.png" theme.layout_fairh = theme.confdir .. "/icons/fairh.png" theme.layout_spiral = theme.confdir .. "/icons/spiral.png" theme.layout_dwindle = theme.confdir .. "/icons/dwindle.png" theme.layout_max = theme.confdir .. "/icons/max.png" theme.layout_fullscreen = theme.confdir .. "/icons/fullscreen.png" theme.layout_magnifier = theme.confdir .. "/icons/magnifier.png" theme.layout_floating = theme.confdir .. "/icons/floating.png" theme.layout_termfair = theme.confdir .. "/icons/termfair.png" theme.layout_uselessfair = theme.confdir .. "/icons/uselessfair.png" --- | icons | --- theme.icon_theme = Moka theme.menu_submenu_icon = theme.confdir .. "/icons/ache_i.png" theme.awesome_icon = theme.confdir .. "/icons/ache_i.png" theme.icon_theme = theme.confdir .. "/icons/ache_i.png" theme.useless_gap_width = 6 return theme