1 ---------------------------
2 -- Default awesome theme --
3 ---------------------------
5 local theme_assets = require("beautiful.theme_assets")
6 local xresources = require("beautiful.xresources")
7 local dpi = xresources.apply_dpi
9 local gfs = require("gears.filesystem")
10 local theme_path = require("beautiful").theme_path
14 theme.font = "Droid Sans 8"
16 theme.bg_normal = "#222222"
17 theme.bg_focus = "#535d6c"
18 theme.bg_urgent = "#ff0000"
19 theme.bg_minimize = "#444444"
20 theme.bg_systray = theme.bg_normal
22 theme.fg_normal = "#aaaaaa"
23 theme.fg_focus = "#ffffff"
24 theme.fg_urgent = "#ffffff"
25 theme.fg_minimize = "#ffffff"
27 theme.useless_gap = 10
28 theme.gap_single_client = false
29 theme.border_width = 2
30 theme.border_normal = "#000000"
31 theme.border_focus = "#535d6c"
32 theme.border_marked = "#91231c"
34 theme.tooltip_fg = theme.fg_normal
35 theme.tooltip_bg = theme.bg_normal
37 -- There are other variable sets
38 -- overriding the default one when
39 -- defined, the sets are:
40 -- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile]
41 -- tasklist_[bg|fg]_[focus|urgent]
42 -- titlebar_[bg|fg]_[normal|focus]
43 -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
44 -- mouse_finder_[color|timeout|animate_timeout|radius|factor]
45 -- prompt_[fg|bg|fg_cursor|bg_cursor|font]
46 -- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font]
48 --theme.taglist_bg_focus = "#ff0000"
50 theme.taglist_icon_only = true
52 theme.taglist_icon_01 = theme_path.."/cutiemarks/pinkie_pie.png"
53 theme.taglist_icon_02 = theme_path.."/cutiemarks/rainbow_dash.png"
54 theme.taglist_icon_03 = theme_path.."/cutiemarks/twilight_sparkle.png"
55 theme.taglist_icon_04 = theme_path.."/cutiemarks/doctor_whooves.png"
56 theme.taglist_icon_05 = theme_path.."/cutiemarks/derpy_hooves.png"
57 theme.taglist_icon_06 = theme_path.."/cutiemarks/trixie.png"
58 theme.taglist_icon_07 = theme_path.."/cutiemarks/soarin.png"
59 theme.taglist_icon_08 = theme_path.."/cutiemarks/princess_celestia.png"
60 theme.taglist_icon_09 = theme_path.."/cutiemarks/princess_luna.png"
61 theme.taglist_icon_10 = theme_path.."/cutiemarks/snails.png"
62 theme.taglist_icon_11 = theme_path.."/cutiemarks/snips.png"
63 theme.taglist_icon_12 = theme_path.."/cutiemarks/lyra_heartstrings.png"
64 theme.taglist_icon_13 = theme_path.."/cutiemarks/rarity.png"
65 theme.taglist_icon_14 = theme_path.."/cutiemarks/fluttershy.png"
66 theme.taglist_icon_15 = theme_path.."/cutiemarks/applejack.png"
67 theme.taglist_icon_16 = theme_path.."/cutiemarks/snowflake.png"
68 theme.taglist_icon_17 = theme_path.."/cutiemarks/thunderlane.png"
69 theme.taglist_icon_18 = theme_path.."/cutiemarks/bon_bon.png"
71 -- Generate taglist squares:
72 local taglist_square_size = dpi(4)
73 theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
74 taglist_square_size, theme.fg_normal
76 theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
77 taglist_square_size, theme.fg_normal
80 -- Variables set for theming notifications:
82 -- notification_[bg|fg]
83 -- notification_[width|height|margin]
84 -- notification_[border_color|border_width|shape|opacity]
86 -- Variables set for theming the menu:
87 -- menu_[bg|fg]_[normal|focus]
88 -- menu_[border_color|border_width]
89 theme.menu_submenu_icon = theme_path.."/submenu.png"
90 theme.menu_height = 15
91 theme.menu_width = 100
93 -- You can add as many variables as
94 -- you wish and access them by using
95 -- beautiful.variable in your rc.lua
96 --theme.bg_widget = "#cc0000"
98 -- Define the image to load
99 theme.wallpaper = theme_path.."/background.png"
101 -- You can use your own layout icons like this:
102 theme.layout_fairh = theme_path.."/layouts/fairhw.png"
103 theme.layout_fairv = theme_path.."/layouts/fairvw.png"
104 theme.layout_floating = theme_path.."/layouts/floatingw.png"
105 theme.layout_magnifier = theme_path.."/layouts/magnifierw.png"
106 theme.layout_max = theme_path.."/layouts/maxw.png"
107 theme.layout_fullscreen = theme_path.."/layouts/fullscreenw.png"
108 theme.layout_tilebottom = theme_path.."/layouts/tilebottomw.png"
109 theme.layout_tileleft = theme_path.."/layouts/tileleftw.png"
110 theme.layout_tile = theme_path.."/layouts/tilew.png"
111 theme.layout_tiletop = theme_path.."/layouts/tiletopw.png"
112 theme.layout_spiral = theme_path.."/layouts/spiralw.png"
113 theme.layout_dwindle = theme_path.."/layouts/dwindlew.png"
114 theme.layout_cornernw = theme_path.."/layouts/cornernww.png"
115 theme.layout_cornerne = theme_path.."/layouts/cornernew.png"
116 theme.layout_cornersw = theme_path.."/layouts/cornersww.png"
117 theme.layout_cornerse = theme_path.."/layouts/cornersew.png"
119 -- Generate Awesome icon:
120 theme.awesome_icon = theme_assets.awesome_icon(
121 theme.menu_height, theme.bg_focus, theme.fg_focus
124 theme.mpd_default_album = theme_path.."/mpd_default_album.png"
126 -- Define the icon theme for application icons. If not set then the icons
127 -- from /usr/share/icons and /usr/share/icons/hicolor will be used.
128 theme.icon_theme = nil
132 -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80