new mod_xinerama, which removes unused screen objects
[notion/jeffpc.git] / etc / look_cleanviolet.lua
blob582d381defbb69c6117d44a8500c01121f7823d8
1 --
2 -- Look_cleanviolet for Notion's default drawing engine.
3 -- Based on look-clean and look-violetgrey.
4 --
6 if not gr.select_engine("de") then
7 return
8 end
10 -- Clear existing styles from memory.
11 de.reset()
13 -- Base style
14 de.defstyle("*", {
15 -- Gray background
16 highlight_colour = "#eeeeee",
17 shadow_colour = "#eeeeee",
18 background_colour = "#aaaaaa",
19 foreground_colour = "#000000",
21 shadow_pixels = 1,
22 highlight_pixels = 1,
23 padding_pixels = 1,
24 spacing = 0,
25 border_style = "elevated",
27 font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
28 text_align = "center",
32 de.defstyle("tab", {
33 font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
35 de.substyle("active-selected", {
36 -- Violet tab
37 highlight_colour = "#aaaacc",
38 shadow_colour = "#aaaacc",
39 background_colour = "#666699",
40 foreground_colour = "#eeeeee",
41 }),
43 de.substyle("inactive-selected", {
44 -- Greyish violet tab
45 highlight_colour = "#eeeeff",
46 shadow_colour = "#eeeeff",
47 background_colour = "#9999aa",
48 foreground_colour = "#000000",
49 }),
53 de.defstyle("input", {
54 text_align = "left",
55 spacing = 1,
56 -- Greyish violet background
57 highlight_colour = "#eeeeff",
58 shadow_colour = "#eeeeff",
59 background_colour = "#9999aa",
60 foreground_colour = "#000000",
62 de.substyle("*-selection", {
63 background_colour = "#777799",
64 foreground_colour = "#000000",
65 }),
67 de.substyle("*-cursor", {
68 background_colour = "#000000",
69 foreground_colour = "#9999aa",
70 }),
74 dopath("lookcommon_clean")
77 -- Refresh objects' brushes.
78 gr.refresh()