File: look_ootput.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 (136 lines) | stat: -rw-r--r-- 3,598 bytes parent folder | download
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
-- look-ootput.lua drawing engine configuration file for Ion.
---- <http://metawire.org/~ootput>

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

de.reset()

de.defstyle("*", {
    shadow_colour = "grey20",
    highlight_colour = "grey20",
    background_colour = "black",
    foreground_colour = "#778bb3",
    padding_pixels = 1,
    highlight_pixels = 0,
    shadow_pixels = 0,
    border_style = "elevated",
    font = "profont11",
    text_align = "center",
})

de.defstyle("frame", {
    based_on = "*",
    padding_colour = "grey20",
    transparent_background = true,
    background_colour = "black",
    de.substyle("active", {
        shadow_colour = "black",
        highlight_colour = "black",
        padding_colour = "#778bb3",
        background_colour = "black",
    }),
})

de.defstyle("frame-ionframe", {
    based_on = "frame",
    padding_pixels = 1,
    highlight_pixels = 0,
    shadow_pixels = 0,
    spacing = 0,
})

de.defstyle("tab", {
    based_on = "*",
    de.substyle("active-selected", {
        shadow_colour = "#374b83",
        highlight_colour = "#374b83",
        background_colour = "#778bb3",
        foreground_colour = "black",
        padding_colour = "black",
    }),
    de.substyle("active-unselected", {
        foreground_colour = "grey40",
        padding_colour = "#000060",
    }),
    de.substyle("inactive-selected", {
        foreground_colour = "#778bb3",
        padding_colour = "#000060",
    }),
    de.substyle("inactive-unselected", {
        foreground_colour = "grey40",
        padding_colour = "#000060",
    }),
    text_align = "center",
})

de.defstyle("tab-frame", {
    based_on = "tab",
    de.substyle("*-*-*-*-activity", {
        background_colour = "#ff8171",
        foreground_colour = "black",
    }),
})

de.defstyle("tab-menuentry", {
    based_on = "*",
    text_align = "left",
    de.substyle("active-selected", {
        shadow_colour = "#374b83",
        highlight_colour = "#374b83",
        background_colour = "#778bb3",
        foreground_colour = "black",
    }),
    de.substyle("active-unselected", {
        foreground_colour = "#778bb3",
    }),
    de.substyle("inactive-selected", {
        background_colour = "#97abd3",
        foreground_colour = "black",
    }),
    de.substyle("inactive-unselected", {
        foreground_colour = "grey40",
    }),
})

de.defstyle("tab-menuentry-big", {
    based_on = "tab-menuentry",
    padding_pixels = 5,
})

de.defstyle("input", {
    based_on = "*",
    shadow_colour = "black",
    highlight_colour = "black",
    background_colour = "#778bb3",
    foreground_colour = "black",
    de.substyle("*-cursor", {
        background_colour = "white",
        foreground_colour = "black",
    }),
    de.substyle("*-selection", {
        background_colour = "#aaaaaa",
        foreground_colour = "black",
    }),
})

de.defstyle("stdisp", {
    based_on = "tab",
    background_colour = "#000000",
    padding_colour = "#000000",
    de.substyle("important", { foreground_colour = "#ffff00", }),
    de.substyle("critical", { foreground_colour = "#ff0000", }),
    de.substyle("gray", { foreground_colour = "#505050", }),
    de.substyle("red", { foreground_colour = "#ff0000", }),
    de.substyle("green", { foreground_colour = "#00ff00", }),
    de.substyle("blue", { foreground_colour = "#0000ff", }),
    de.substyle("cyan", { foreground_colour = "#00ffff", }),
    de.substyle("magenta", { foreground_colour = "#ff00ff", }),
    de.substyle("yellow", { foreground_colour = "#ffff00", }),
})

de.defstyle("dock", {
    outline_style = "all",
})

gr.refresh()