Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_outback.lua
blob1c64e5c83ed627bc86341052e71aec5523971955
1 -- Authors: Mark Tran <mark@nirv.net>
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look_outback.lua : Mark Tran <mark@nirv.net>
7 -- This style looks best when the alternative style is applied to "full"
8 -- workspace frames. You can enable it by applying: _:set_mode('tiled-alt')
9 -- as Lua code.
11 -- View http://modeemi.fi/~tuomov/ion/faq/entries/Hiding_the_tab-bar.html
12 -- for further details.
14 if not gr.select_engine("de") then return end
16 de.reset()
18 de.defstyle("*", {
19 border_style = "elevated",
21 background_colour = "#453832",
22 foreground_colour = "#ffffff",
24 highlight_pixels = 0,
25 padding_pixels = 0,
26 shadow_pixels = 0,
27 highlight_colour = "#000000",
28 padding_colour = "#453832",
29 shadow_colour = "#000000",
31 font = "-xos4-terminus-*-r-normal--12-120-*-*-c-*-iso8859-1",
32 text_align = "center",
35 de.defstyle("frame", {
36 based_on = "*",
38 border_style = "inlaid",
39 spacing = 1,
41 background_colour = "#f5deb3",
42 foreground_colour = "#000000",
44 padding_pixels = 1,
45 padding_colour = "#453832",
48 de.defstyle("frame-floating", {
49 bar = "inside",
51 padding_pixels = 1,
52 spacing = 0,
55 de.defstyle("frame-tiled-alt", {
56 bar = "inside",
57 spacing = 0,
60 de.defstyle("frame-transient", {
61 spacing = 0,
64 de.defstyle("tab", {
65 based_on = "*",
67 highlight_pixels = 1,
68 padding_pixels = 1,
69 shadow_pixels = 1,
70 highlight_colour = "#352722",
71 shadow_colour = "#352722",
73 spacing = 1,
75 de.substyle("active-selected", {
76 background_colour = "#983008",
77 foreground_colour = "#ffffff",
78 highlight_colour = "#d04008",
79 shadow_colour = "#d04008",
80 }),
81 de.substyle("active-unselected", {
82 background_colour = "#453832",
83 foreground_colour = "#ffffff",
84 }),
85 de.substyle("inactive-selected", {
86 background_colour = "#453832",
87 foreground_colour = "#ffffff",
88 }),
89 de.substyle("inactive-unselected", {
90 background_colour = "#453832",
91 foreground_colour = "#ffffff",
92 }),
95 de.defstyle("tab-frame-floating", {
96 based_on = "tab",
98 highlight_pixels = 0,
99 shadow_pixels = 0,
102 de.defstyle("tab-frame-tiled-alt", {
103 based_on = "tab",
105 highlight_pixels = 0,
106 shadow_pixels = 0,
109 de.defstyle("tab-menuentry", {
110 based_on = "tab",
112 highlight_pixels = 0,
113 padding_pixels = 3,
114 shadow_pixels = 0,
116 text_align = "left",
118 de.substyle("inactive-selected", {
119 background_colour = "#983008",
120 foreground_colour = "#ffffff",
124 de.defstyle("tab-menuentry-big", {
125 padding_pixels = 5,
128 de.defstyle("input", {
129 background_colour = "#352722",
130 padding_pixels = 2,
133 de.defstyle("input-edln", {
134 background_colour = "#453832",
136 highlight_pixels = 1,
137 shadow_pixels = 1,
138 highlight_colour = "#473e3b",
139 shadow_colour = "#473e3b",
141 de.substyle("*-cursor", {
142 background_colour = "#ffffff",
143 foreground_colour = "#000000",
145 de.substyle("*-selection", {
146 background_colour = "#983008",
147 foreground_colour = "#ffffff",
151 de.defstyle("input-message", {
152 background_colour = "#453832",
155 de.defstyle("stdisp-statusbar", {
156 based_on = "*",
158 de.substyle("important", {
159 foreground_colour = "green",
162 de.substyle("critical", {
163 foreground_colour = "red",
167 de.defstyle("actnotify", {
168 based_on = "*",
170 highlight_pixels = 1,
171 padding_pixels = 1,
172 shadow_pixels = 1,
173 background_colour = "#983008",
174 foreground_colour = "#ffffff",
175 highlight_colour = "#d04008",
176 shadow_colour = "#d04008",
179 de.defstyle("moveres_display", {
180 based_on = "actnotify",
183 gr.refresh()