X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=etc%2Flookcommon_clean.lua;h=6ffb7b45e0618ea8c1b14bd33eb96d8e4ba5f483;hb=7c392448b0d2efcc6bb959063dcaa8b2c5ea0964;hp=de0efa2323e29f2749b660dab4e1b9700d3f19ed;hpb=471a5e5f9928e2d324b2e10422a420f458bd63ff;p=ion3.git diff --git a/etc/lookcommon_clean.lua b/etc/lookcommon_clean.lua index de0efa2..6ffb7b4 100644 --- a/etc/lookcommon_clean.lua +++ b/etc/lookcommon_clean.lua @@ -1,37 +1,47 @@ --- Settings common to some styles. +-- Common settings for the "clean" styles -de.defstyle("stdisp", { - based_on = "*", - shadow_pixels = 0, - highlight_pixels = 0, - text_align = "left", +de.defstyle("frame", { background_colour = "#000000", - foreground_colour = "grey", - font="-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*", - - de.substyle("important", { - foreground_colour = "green", + de.substyle("quasiactive", { + -- Something detached from the frame is active + padding_colour = "#901010", }), - - de.substyle("critical", { - foreground_colour = "red", + de.substyle("userattr1", { + -- For user scripts + padding_colour = "#009010", }), + padding_pixels = 1, +}) + +de.defstyle("frame-tiled", { + shadow_pixels = 0, + highlight_pixels = 0, + spacing = 1, +}) + +de.defstyle("frame-tiled-alt", { + bar = "none", +}) + +de.defstyle("frame-floating", { + bar = "shaped", + padding_pixels = 0, +}) + +de.defstyle("frame-transient", { + bar = "none", + padding_pixels = 0, }) + de.defstyle("actnotify", { - based_on = "*", shadow_colour = "#c04040", highlight_colour = "#c04040", background_colour = "#901010", foreground_colour = "#eeeeee", }) -de.defstyle("tab-frame", { - based_on = "tab", - -- TODO: some kind of amend option. It should not be necessary to - -- duplicate this definition for both tab-frame and tab-menuentry, - -- or for each style, nor use more complex hacks to communicate - -- this stuff otherwise. +de.defstyle("tab", { de.substyle("*-*-*-unselected-activity", { shadow_colour = "#c04040", highlight_colour = "#c04040", @@ -45,57 +55,44 @@ de.defstyle("tab-frame", { background_colour = "#b03030", foreground_colour = "#ffffff", }), + + de.substyle("*-*-*-tabnumber", { + background_colour = "black", + foreground_colour = "green", + }), }) -de.defstyle("tab-frame-tiled", { - based_on = "tab-frame", +de.defstyle("tab-frame", { spacing = 1, }) +de.defstyle("tab-frame-floating", { + spacing = 0, +}) + de.defstyle("tab-menuentry", { - based_on = "tab", text_align = "left", - - de.substyle("*-*-*-unselected-activity", { - shadow_colour = "#c04040", - highlight_colour = "#c04040", - background_colour = "#901010", - foreground_colour = "#eeeeee", - }), - - de.substyle("*-*-*-selected-activity", { - shadow_colour = "#c04040", - highlight_colour = "#c04040", - background_colour = "#b03030", - foreground_colour = "#ffffff", - }), }) -de.defstyle("frame", { - based_on = "*", - background_colour = "#000000", - transparent_background = false, - de.substyle("quasiactive", { - -- Something detached from the frame is active - padding_colour = "#901010", - }), +de.defstyle("tab-menuentry-big", { + font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*", + padding_pixels = 7, }) -de.defstyle("frame-tiled", { - based_on = "frame", + +de.defstyle("stdisp", { shadow_pixels = 0, highlight_pixels = 0, - padding_pixels = 1, - spacing = 1, -}) - -de.defstyle("frame-tiled-alt", { - based_on = "frame-tiled", - bar = "none", -}) + text_align = "left", + background_colour = "#000000", + foreground_colour = "grey", + font="-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*", + + de.substyle("important", { + foreground_colour = "green", + }), -de.defstyle("frame-floating", { - based_on = "frame", - bar = "shaped", - padding_pixels = 0, + de.substyle("critical", { + foreground_colour = "red", + }), })