Fix miscalculations and infinite loops in tab width calculation
[notion/jeffpc.git] / etc / lookcommon_clean.lua
blobc2a8420abeb70f19271925c121bf57e8de0cc6bf
1 -- Common settings for the "clean" styles
3 de.defstyle("frame", {
4 background_colour = "#000000",
5 de.substyle("quasiactive", {
6 -- Something detached from the frame is active
7 padding_colour = "#901010",
8 }),
9 de.substyle("userattr1", {
10 -- For user scripts
11 padding_colour = "#009010",
12 }),
13 padding_pixels = 1,
16 de.defstyle("frame-tiled", {
17 shadow_pixels = 0,
18 highlight_pixels = 0,
19 spacing = 1,
22 --de.defstyle("frame-tiled-alt", {
23 -- bar = "none",
24 --})
26 de.defstyle("frame-floating", {
27 --bar = "shaped",
28 padding_pixels = 0,
31 de.defstyle("frame-transient", {
32 --bar = "none",
33 padding_pixels = 0,
37 de.defstyle("actnotify", {
38 shadow_colour = "#c04040",
39 highlight_colour = "#c04040",
40 background_colour = "#901010",
41 foreground_colour = "#eeeeee",
44 de.defstyle("tab", {
45 de.substyle("*-*-*-unselected-activity", {
46 shadow_colour = "#c04040",
47 highlight_colour = "#c04040",
48 background_colour = "#901010",
49 foreground_colour = "#eeeeee",
50 }),
52 de.substyle("*-*-*-selected-activity", {
53 shadow_colour = "#c04040",
54 highlight_colour = "#c04040",
55 background_colour = "#b03030",
56 foreground_colour = "#ffffff",
57 }),
59 de.substyle("*-*-*-tabnumber", {
60 background_colour = "black",
61 foreground_colour = "green",
62 }),
65 de.defstyle("tab-frame", {
66 spacing = 1,
69 de.defstyle("tab-frame-floating", {
70 spacing = 0,
73 de.defstyle("tab-menuentry", {
74 text_align = "left",
77 de.defstyle("tab-menuentry-big", {
78 font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
79 padding_pixels = 7,
83 de.defstyle("stdisp", {
84 shadow_pixels = 0,
85 highlight_pixels = 0,
86 text_align = "left",
87 background_colour = "#000000",
88 foreground_colour = "grey",
89 font="-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
91 de.substyle("important", {
92 foreground_colour = "green",
93 }),
95 de.substyle("critical", {
96 foreground_colour = "red",
97 }),