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
|
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
#
# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
# custom widgets, programs giving us a chance to alter their UI to fit more with
# the theme or stuff that is supposed to look different, like panels.
# Thunar
style "thunar_location_button" = "location_button" {
ThunarLocationButtons::spacing = 0
engine "pixmap" {
image {
function = BOX
state = NORMAL
file = "assets/null.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
image {
function = BOX
state = PRELIGHT
file = "assets/pathbar_button_prelight.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
image {
function = BOX
state = ACTIVE
file = "assets/pathbar_button_active.png"
border = { 0, 0, 0, 2 }
stretch = TRUE
}
image {
function = BOX
state = INSENSITIVE
file = "assets/null.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
}
}
widget_class "*ThunarLocationButtons*" style "thunar_location_button"
# TODO: This could really look nicer
style "gimp_spin_scale" {
# Spin background
bg[NORMAL] = @base_color
engine "pixmap" {
image {
function = BOX
state = NORMAL
detail = "spinbutton_up"
overlay_file = "assets/pan-up-alt.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = PRELIGHT
detail = "spinbutton_up"
overlay_file = "assets/pan-up.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = ACTIVE
detail = "spinbutton_up"
overlay_file = "assets/pan-up.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = INSENSITIVE
detail = "spinbutton_up"
overlay_file = "assets/pan-up-alt-insensitive.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = NORMAL
detail = "spinbutton_down"
overlay_file = "assets/pan-down-alt.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = PRELIGHT
detail = "spinbutton_down"
overlay_file = "assets/pan-down.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = ACTIVE
detail = "spinbutton_down"
overlay_file = "assets/pan-down.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = INSENSITIVE
detail = "spinbutton_down"
overlay_file = "assets/pan-down-alt-insensitive.png"
overlay_stretch = FALSE
}
}
}
style "chrome_gtk_frame" {
ChromeGtkFrame::frame-color = @titlebar_bg_color
ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::frame-gradient-size = 0
}
# Disable spin button assets for GimpSpinScale
class "GimpSpinScale" style "gimp_spin_scale"
# Chromium lets us define some colours and settings for better integration
class "ChromeGtkFrame" style "chrome_gtk_frame"
#
# (He)XChat
#
style "chat-entry" {
xthickness = 4
ythickness = 4
# enforce white backgrounds
bg[NORMAL] = @selected_fg_color
bg[PRELIGHT] = @selected_fg_color
bg[ACTIVE] = @selected_fg_color
bg[SELECTED] = @selected_bg_color
engine "pixmap" {
image {
function = SHADOW
detail = "entry"
file = "assets/frame.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
image {
function = FLAT_BOX
detail = "entry_bg"
file = "assets/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
}
}
widget "*xchat-inputbox" style "chat-entry"
class "SexySpellEntry" style:highest "chat-entry"
|