summaryrefslogtreecommitdiff
path: root/common/.config/wal/templates/gtkrc
blob: e93d5ce406f9cdcd37648d869d288bdef49a78cf (plain)
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
gtk_color_scheme = "fg_color:{color15}
bg_color:{color0}
base_color:{color8}
text_color:{color15}
selected_bg_color:{color4}
selected_fg_color:{color0}
tooltip_bg_color:{color8}
tooltip_fg_color:{color15}
border_color:{color4}"

style "default"
{{
	xthickness = 2
	ythickness = 2

	GtkEntry::cursor_color    = @fg_color
	GtkEntry::cursor_aspect_ratio = 0.05

	GtkRange::stepper-size = 20
	GtkScale       ::slider-length        = 20
	GtkScale       ::trough-side-details  = 0	       # 0 = thin slider, >0 = thick slider

	GtkTextView::cursor_aspect_ratio = 0.1
	GtkTextView::cursor_color    = @fg_color

	GtkTreeView::expander-size = 16

	GtkWidget::focus-padding = 0
	GtkWidget::interior_focus = 2
	GtkWidget::link-color = @selected_bg_color
	GtkWidget::visited-link-color = shade(0.8,@selected_bg_color)

	GtkToolbar     :: shadow-type		= GTK_SHADOW_NONE
	GtkMenuBar     :: shadow-type        = GTK_SHADOW_NONE

	GtkToolbar     ::internal-padding     = 4

	GtkScrollbar		::has-backward-stepper              = 0
	GtkScrollbar		::has-forward-stepper               = 0

	GtkCheckButton ::indicator-size       = 16

	GtkProgressBar		::min-vertical-bar-width            = 6
	GtkProgressBar		::min-horizontal-bar-height         = 6

	fg[NORMAL]      = @fg_color # this is the color of borders
	text[NORMAL]    = @fg_color
	fg[PRELIGHT]    = @fg_color
	text[PRELIGHT]  = @fg_color
	fg[ACTIVE]      = @fg_color
	text[ACTIVE]    = @fg_color
	fg[SELECTED]    = @fg_color
	text[SELECTED]  = @fg_color
	fg[INSENSITIVE]  = mix(0.5, @base_color, @fg_color)
	text[INSENSITIVE] = mix(0.5, @base_color, @fg_color)

	bg[NORMAL]      = @bg_color
	base[NORMAL]    = @base_color
	bg[PRELIGHT]    = @bg_color
	base[PRELIGHT]  = @bg_color
	bg[ACTIVE]      = mix(0.2,@fg_color,@bg_color)
	base[ACTIVE]    = mix(0.1,@fg_color,@base_color)
	bg[SELECTED]    = @selected_bg_color
	base[SELECTED]  = mix(0.1,@fg_color,@base_color)
	bg[INSENSITIVE] = @bg_color
	base[INSENSITIVE] = @bg_color

	engine "murrine"
{{
	contrast = 0.0
	arrowstyle = 2 #to draw filled arrows.
	glazestyle          = 0     # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
	gradient_shades     = {{1.0, 1.0, 1.0, 1.0}} # default: {{1.1,1.0,1.0,1.1}}
	highlight_shade     = 1.0  # set highlight amount for buttons or widgets
	lightborder_shade   = 1.0   # sets lightborder amount for buttons or widgets
	lightborderstyle    = 1     # 0 = lightborder on top side, 1 = lightborder on all sides
	focusstyle			= 1
	reliefstyle	     = 0
	menustyle           = 0
	menubaritemstyle    = 0     # 0 = menuitem look, 1 = button look
	menubarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
	menuitemstyle       = 0     # 0 = flat, 1 = glassy, 2 = striped
	progressbarstyle        = 0
	border_shades = {{ 1.0, 1.0 }} # this for light borders
}}

}}

style "entry"
{{
	xthickness = 4
	ythickness = 4

	engine "murrine" {{border_shades = {{ 1.5, 1.5 }}}}
}}

style "button"
{{
	xthickness = 4
	ythickness = 4

	engine "murrine" {{ roundness = 3 	border_shades = {{ 1.5, 1.5 }} }}

	bg[NORMAL] =  @bg_color
	bg[PRELIGHT] = @bg_color
	bg[ACTIVE] = mix(0.2, @fg_color,@bg_color)
}}

style "radiocheck"
{{
	text[NORMAL]   = @selected_fg_color            # Text in window
	text[PRELIGHT] = @selected_fg_color            # Text on Mouseover
	text[ACTIVE]   = @selected_fg_color             # Text on click

	bg[SELECTED] = @selected_bg_color
}}

style "progressbar"
{{
	xthickness = 0
	ythickness = 0

	engine "murrine" {{}}

	fg[PRELIGHT] = @selected_fg_color
}}

style "scale"
{{
	GtkRange       ::slider-width  = 14
	GtkScale       ::slider-length = 14
	GtkScale		    ::trough-side-details = 1

	engine "murrine" {{roundness = 4 	border_shades = {{ 1.5, 1.5 }}}}

	bg[NORMAL] = @base_color
	bg[PRELIGHT] = @base_color
}}

style "menubar"
{{
}}

style "menubaritem"
{{
	fg[NORMAL] = @fg_color
}}

style "menu"
{{
	xthickness = 1
	ythickness = 4

	bg[NORMAL]	= @bg_color

}}

style "menuitem"
{{
	xthickness = 4
	ythickness = 4

	engine "murrine" {{ contrast = 0.0}}

	bg[SELECTED] = mix(0.1,@fg_color,@bg_color)

	text[NORMAL]	= @fg_color
	text[PRELIGHT] = @fg_color
	fg[PRELIGHT] = @fg_color
}}

style "menu-separator"
{{
	GtkSeparatorMenuItem::horizontal-padding = 0
	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 1
	GtkWidget::separator-height = 1
	xthickness = 1
	ythickness = 2

	engine "hcengine" {{ edge_thickness = 1}}
	fg[NORMAL] = @border_color
}}

style "separator"
{{
	engine "hcengine" {{ edge_thickness = 1}}
	fg[NORMAL] = @border_color
}}

style "toolbar"
{{

}}

style "scrollbar"
{{
	engine "murrine" {{	border_shades = {{ 1.65, 1.65 }} gradient_shades     = {{1.0, 1.0, 1.0, 1.0}} }}
	bg[SELECTED] = mix(0.5,@fg_color, @base_color)
}}

style "notebook"
{{
	xthickness	= 5
	ythickness	= 2

	bg[NORMAL] = @base_color
	bg[ACTIVE] = @bg_color
}}

style "notebook_viewport" {{
	bg[NORMAL] = @base_color
}}

style "tooltips"
{{
	xthickness	= 6
	ythickness	= 6

	bg[NORMAL] = @tooltip_bg_color
	fg[NORMAL] = @tooltip_fg_color
}}

class "GtkWidget" style "default"

class "GtkEntry" style "entry"
widget_class "*<GtkButton>"	style "button"
class "GtkRadio*" style "radiocheck"
class "GtkCheck*" style "radiocheck"
widget_class "*<GtkProgressBar>" style "progressbar"
class "GtkScale" style "scale"

class "GtkFrame" style "separator"
class "GtkSeparator" style "separator"
class "GtkVSeparator" style "separator"
class "GtkHSeparator" style "separator"
class "GtkSeparatorToolItem" style "separator"

class "GtkMenuBar" style "menubar"
widget_class "*MenuBar.*" style "menubaritem"
class "GtkMenu" style "menu"
widget_class "*<GtkMenuItem>*" style "menuitem"
widget_class "*<GtkSeparatorMenuItem>*" style "menu-separator"

class "GtkToolbar" style "toolbar"
class "GtkScrollbar" style "scrollbar"
widget "gtk-tooltip*" style "tooltips"

widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook"
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport"
widget_class "*<GtkNotebook>" style "notebook"