-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.lua
94 lines (78 loc) · 2.96 KB
/
theme.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
--{{{ Main
local awful = require("awful")
awful.util = require("awful.util")
theme = {}
home = os.getenv("HOME")
config = awful.util.getdir("config")
shared = "/usr/share/awesome"
if not awful.util.file_readable(shared .. "/icons/awesome16.png") then
shared = "/usr/share/local/awesome"
end
sharedicons = shared .. "/icons"
sharedthemes = shared .. "/themes"
themes = config .. "/themes"
themename = "/wwwredfish"
if not awful.util.file_readable(themes .. themename .. "/theme.lua") then
themes = sharedthemes
end
themedir = themes .. themename
wallpaper1 = themedir .. "/background.png"
if awful.util.file_readable(wallpaper1) then
theme.wallpaper = wallpaper1
end
theme.wallpaper_cmd = { "awsetbg " .. theme.wallpaper }
--}}}
theme.font = "sans 13"
theme.bg_normal = "#232F49"
theme.bg_focus = "#25a5a6"
theme.bg_urgent = "#FF0D27"
theme.bg_minimize = "#182033"
theme.fg_normal = "#cccccc"
theme.fg_focus = "#000000"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
theme.border_width = "3"
theme.border_normal = "#232F49"
theme.border_focus = "#219394"
theme.border_marked = "#F1F2EA"
-- 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 = "#ff0000"
--
-- Display the taglist squares
theme.taglist_squares_sel = themedir .. "/taglist/squarefw.png"
theme.taglist_squares_unsel = themedir .. "/taglist/squarew.png"
theme.tasklist_floating_icon = themedir .. "/tasklist/floatingw_grey.png"
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_bg_normal = "#F1F2EA"
theme.menu_fg_normal = "#232F49"
theme.menu_submenu_icon = themedir .. "/submenu.png"
theme.menu_height = "25"
theme.menu_width = "130"
theme.menu_border_width = "0"
-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000"
theme.layout_tile = themedir .. "/layouts/tile.png"
theme.layout_tileleft = themedir .. "/layouts/tileleft.png"
theme.layout_tilebottom = themedir .. "/layouts/tilebottom.png"
theme.layout_tiletop = themedir .. "/layouts/tiletop.png"
theme.layout_fairv = themedir .. "/layouts/fairv.png"
theme.layout_fairh = themedir .. "/layouts/fairh.png"
theme.layout_spiral = themedir .. "/layouts/spiral.png"
theme.layout_dwindle = themedir .. "/layouts/dwindle.png"
theme.layout_max = themedir .. "/layouts/max.png"
theme.layout_fullscreen = themedir .. "/layouts/fullscreen.png"
theme.layout_magnifier = themedir .. "/layouts/magnifier.png"
theme.layout_floating = themedir .. "/layouts/floating.png"
theme.awesome_icon = themedir .. "/awesome16.png"
return theme