Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------
- -- "Haru" awesome theme --
- -- default based --
- -------------------------------
- ----------------------------
- -- {{{ Main
- local theme_assets = require("beautiful.theme_assets")
- local xresources = require("beautiful.xresources")
- local dpi = xresources.apply_dpi
- --local gfs = require("gears.filesystem")
- --local themes_path = gfs.get_themes_dir()
- local themes_path = config_dir .. "themes/"
- theme = {}
- theme.wallpaper = themes_path .. "haru/background.png"
- -- }}}
- -- {{{ Styles
- theme.font = "Droid Sans 11"
- -- {{{ Colors
- theme.bg_normal = "#615666"
- theme.bg_focus = "#636363"
- theme.bg_urgent = "#C17593"
- theme.bg_minimize = "#453E46"
- theme.bg_systray = theme.bg_normal
- theme.fg_normal = "#A8989F"
- theme.fg_focus = "#FDFCFC"
- theme.fg_urgent = "#ffffff"
- theme.fg_minimize = "#aaaaaa"
- theme.useless_gap = dpi(6)
- theme.useless_gap_width = dpi(6)
- -- }}}
- -- {{{ Borders
- theme.border_width = dpi(5)
- theme.border_normal = "#726271"
- theme.border_focus = "#b07a99"
- theme.border_marked = "#91231c"
- theme.bg_systray = theme.border_normal
- theme.systray_icon_spacing = 2
- -- }}}
- -- {{{ Useless gap
- -- }}}
- --theme.bg_systray = "#FF00FF"
- -- There are other variable sets
- -- overriding the default one when
- -- defined, the sets are:
- -- [taglist|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]
- -- Example:
- --theme.taglist_bg_focus = "#00000000"
- --theme.taglist_bg_focus = "#b07a9945"
- -- {{{ Display the taglist squares
- local taglist_square_size = dpi(2)
- theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
- taglist_square_size, theme.fg_normal
- )
- theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
- taglist_square_size, theme.fg_normal
- )
- -- }}}
- -- {{{ Variables set for theming the menu:
- -- menu_[bg|fg]_[normal|focus]
- -- menu_[border_color|border_width]
- --theme.menu_fg_focus = themes_path .. "/22025.png"
- --theme.menu_bg_focus = themes_path .. "/22025.png"
- theme.menu_submenu_icon = themes_path .. "haru/icons/submenu.png"
- theme.menu_height = dpi(25)
- theme.menu_width = dpi(220)
- -- }}}
- -- {{{ 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 = themes_path .. "haru/titlebar/close_normal.png"
- theme.titlebar_close_button_focus = themes_path .. "haru/titlebar/close_focus.png"
- theme.titlebar_ontop_button_normal_inactive = themes_path .. "haru/titlebar/ontop_normal_inactive.png"
- theme.titlebar_ontop_button_focus_inactive = themes_path .. "haru/titlebar/ontop_focus_inactive.png"
- theme.titlebar_ontop_button_normal_active = themes_path .. "haru/titlebar/ontop_normal_active.png"
- theme.titlebar_ontop_button_focus_active = themes_path .. "haru/titlebar/ontop_focus_active.png"
- theme.titlebar_sticky_button_normal_inactive = themes_path .. "haru/titlebar/sticky_normal_inactive.png"
- theme.titlebar_sticky_button_focus_inactive = themes_path .. "haru/titlebar/sticky_focus_inactive.png"
- theme.titlebar_sticky_button_normal_active = themes_path .. "haru/titlebar/sticky_normal_active.png"
- theme.titlebar_sticky_button_focus_active = themes_path .. "haru/titlebar/sticky_focus_active.png"
- theme.titlebar_floating_button_normal_inactive = themes_path .. "haru/titlebar/floating_normal_inactive.png"
- theme.titlebar_floating_button_focus_inactive = themes_path .. "haru/titlebar/floating_focus_inactive.png"
- theme.titlebar_floating_button_normal_active = themes_path .. "haru/titlebar/floating_normal_active.png"
- theme.titlebar_floating_button_focus_active = themes_path .. "haru/titlebar/floating_focus_active.png"
- theme.titlebar_maximized_button_normal_inactive = themes_path .. "haru/titlebar/maximized_normal_inactive.png"
- theme.titlebar_maximized_button_focus_inactive = themes_path .. "haru/titlebar/maximized_focus_inactive.png"
- theme.titlebar_maximized_button_normal_active = themes_path .. "haru/titlebar/maximized_normal_active.png"
- theme.titlebar_maximized_button_focus_active = themes_path .. "haru/titlebar/maximized_focus_active.png"
- -- }}}
- -- {{{ You can use your own layout icons like this:
- theme.layout_dwindle = themes_path .. "haru/layouts/dwindle.png"
- theme.layout_fairh = themes_path .. "haru/layouts/fairh.png"
- theme.layout_fairv = themes_path .. "haru/layouts/fairv.png"
- theme.layout_floating = themes_path .. "haru/layouts/floating.png"
- theme.layout_magnifier = themes_path .. "haru/layouts/magnifier.png"
- theme.layout_max = themes_path .. "haru/layouts/max.png"
- theme.layout_fullscreen = themes_path .. "haru/layouts/fullscreen.png"
- theme.layout_tilebottom = themes_path .. "haru/layouts/tilebottom.png"
- theme.layout_tileleft = themes_path .. "haru/layouts/tileleft.png"
- theme.layout_tile = themes_path .. "haru/layouts/tile.png"
- theme.layout_tiletop = themes_path .. "haru/layouts/tiletop.png"
- theme.layout_spiral = themes_path .. "haru/layouts/spiral.png"
- -- }}}
- -- {{{ Custom icons
- -- Generate Awesome icon:
- theme.awesome_icon = theme_assets.awesome_icon(
- theme.menu_height, theme.bg_focus, theme.border_focus
- )
- -- }}}
- theme.icon_theme = "moblin"
- return theme
- -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement