File: look_moy.lua

package info (click to toggle)
notion 3%2B2012042300-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 4,724 kB
  • sloc: ansic: 45,614; makefile: 544; sh: 409; perl: 113
file content (170 lines) | stat: -rw-r--r-- 7,428 bytes parent folder | download | duplicates (2)
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
-- look-greyviolet.lua drawing engine configuration file for Ion.

if not gr.select_engine("de") then return end

de.reset()

de.defstyle("*", {
                   shadow_colour = "#777777",
                   highlight_colour = "#eeeeee",
                   background_colour = "#aaaaaa",
                   foreground_colour = "#000000",
                   padding_pixels = 1,
                   highlight_pixels = 1,
                   shadow_pixels = 1,
                   border_style = "elevated",
                   font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
                   text_align = "center",
                })

de.defstyle("frame", {
                   based_on = "*",
                   shadow_colour = "#777777",
                   highlight_colour = "#dddddd",
                   padding_colour = "#aaaaaa",
                   background_colour = "#000000",
                   foreground_colour = "#ffffff",
                   padding_pixels = 1,
                   highlight_pixels = 1,
                   shadow_pixels = 1,
                   de.substyle("active", {
                                  border_style = "inlaid",
                                  shadow_colour = "#4444AA",
                                  highlight_colour = "#ccaaff",
                                  background_colour = "#aaaaaa",
                                  foreground_colour = "#ffffff",
                               }),
                })

de.defstyle("frame-ionframe", {
                   based_on = "frame",
                   border_style = "inlaid",
                   padding_pixels = 1,
                   spacing = 0,
                   de.substyle("active", {
                                  highlight_pixels = 10,
                                  shadow_pixels = 10,
                                  padding_pixels = 10,
                                  border_style = "inlaid",
                                  shadow_colour = "#4422AA",
                                  padding_colour = "#CCAADD",
                                  highlight_colour = "#aa99CC",
                                  background_colour = "#aaaaaa",
                                  foreground_colour = "#ffffff",
                               }),
                })

de.defstyle("frame-floatframe", {
                   based_on = "frame",
                   border_style = "ridge"
                })

de.defstyle("tab", {
                   based_on = "*",
                   font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
                   de.substyle("active-selected", {
                                  shadow_colour = "#8888aa",
                                  highlight_colour = "#333366",
                                  background_colour = "#666699",
                                  foreground_colour = "#eeeeee",
                               }),
                   de.substyle("active-unselected", {
                                  shadow_colour = "#777777",
                                  highlight_colour = "#cccccc",
                                  background_colour = "#aaa5aa",
                                  foreground_colour = "#000000",
                               }),
                   de.substyle("inactive-selected", {
                                  shadow_colour = "#aaaadd",
                                  highlight_colour = "#777788",
                                  background_colour = "#9999aa",
                                  foreground_colour = "#000000",
                               }),
                   de.substyle("inactive-unselected", {
                                  shadow_colour = "#777777",
                                  highlight_colour = "#cccccc",
                                  background_colour = "#bbbbbb",
                                  foreground_colour = "#222222",
                               }),
                   text_align = "center",
                })

de.defstyle("tab-frame", {
                   based_on = "tab",
                   de.substyle("*-*-*-*-activity", {
                                  shadow_colour = "#777777",
                                  highlight_colour = "#eeeeee",
                                  background_colour = "#990000",
                                  foreground_colour = "#eeeeee",
                               }),
                })

de.defstyle("tab-frame-ionframe", {
                   based_on = "tab-frame",
                   spacing = 0,
                })

de.defstyle("tab-frame-floatframe", {
                   based_on = "tab-frame",
                   de.substyle("active-selected", {
                                  shadow_colour = "#333366",
                                  highlight_colour = "#8888aa",
                                  background_colour = "#666699",
                                  foreground_colour = "#eeeeee",
                               }),
                   de.substyle("active-unselected", {
                                  shadow_colour = "#cccccc",
                                  highlight_colour = "#777777",
                                  background_colour = "#aaa5aa",
                                  foreground_colour = "#000000",
                               }),
                   de.substyle("inactive-selected", {
                                  shadow_colour = "#777788",
                                  highlight_colour = "#aaaadd",
                                  background_colour = "#9999aa",
                                  foreground_colour = "#000000",
                               }),
                   de.substyle("inactive-unselected", {
                                  shadow_colour = "#cccccc",
                                  highlight_colour = "#777777",
                                  background_colour = "#aaaaaa",
                                  foreground_colour = "#000000",
                               }),
                })

de.defstyle("tab-menuentry", {
                   based_on = "tab",
                   text_align = "left",
                   highlight_pixels = 1,
                   shadow_pixels = 1,
                })

de.defstyle("tab-menuentry-big", {
                   based_on = "tab-menuentry",
                   font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
                   padding_pixels = 7,
                })

de.defstyle("input", {
                   based_on = "*",
                   font = "-Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1",
                   shadow_colour = "#777777",
                   highlight_colour = "#eeeeee",
                   background_colour = "#aaaaaa",
                   foreground_colour = "#100040",
                   padding_pixels = 1,
                   highlight_pixels = 1,
                   shadow_pixels = 1,
                   border_style = "elevated",
                   de.substyle("*-cursor", {
                                  background_colour = "#300070",
                                  foreground_colour = "#aaaaaa",
                               }),
                   de.substyle("*-selection", {
                                  background_colour = "#8080aa",
                                  foreground_colour = "#300070",
                               }),
                })

gr.refresh()