-------------------------------------------------------------------------------- -- look.lua - Ion3 or Ion3plus look called "Shiny" -- Copyright (C) 2008,2009 Matous J. Fialka, -- Relesed under the terms of The MIT License -- -- Remarks: Drop into ~/.ion3/ or install in the system-wide directory -- Authors: Matous Jan Fialka -- Created: Tue Apr 1 00:12:52 CEST 2008 -- Updated: Mon Feb 9 01:09:41 CET 2009 -------------------------------------------------------------------------------- if not gr.select_engine("de") then return end de.reset() de.defstyle ("*", { background_colour = "#999999", foreground_colour = "#222222", shadow_colour = "#666666", highlight_colour = "#dddddd", padding_colour = "#999999", shadow_pixels = 1, highlight_pixels = 1, padding_pixels = 1, spacing = 1, border_style = "elevated", bar = "inside", text_align = "left", font = "-*-terminus-medium-r-*--14-*-*-*-*-*-*-*", }) de.defstyle("frame", { based_on = "*", background_colour = "#000000", padding_colour = "inherit", border_style = "ridge", }) de.defstyle("frame-tiled", { based_on = "frame", border_style = "inlaid", }) de.defstyle("frame-floating", { based_on = "frame", }) de.defstyle("frame-transient", { based_on = "frame", }) de.defstyle("tab", { based_on = "*", text_align = "center", de.substyle("active-selected", { background_colour = "#000000", foreground_colour = "#aaaaaa", shadow_colour = "#333333", highlight_colour = "#999999", }), de.substyle("active-selected-XkbGroup2", { background_colour = "#992222", foreground_colour = "#aaaaaa", }), de.substyle("active-selected-XkbGroup3", { background_colour = "#229922", foreground_colour = "#aaaaaa", }), de.substyle("active-selected-XkbGroup3", { background_colour = "#222299", foreground_colour = "#aaaaaa", }), }) de.defstyle("tab-frame", { based_on = "tab", }) de.defstyle("tab-frame-floating", { based_on = "tab", }) de.defstyle("tab-frame-transient", { based_on = "tab", }) de.defstyle("tab-menuentry", { based_on = "frame", }) de.defstyle("tab-menuentry-pmenu", { based_on = "tab-menuentry", background_colour = "#000000", foreground_colour = "#aaaaaa", shadow_colour = "#333333", highlight_colour = "#999999", shadow_pixels = 0, highlight_pixels = 0, spacing = 0, text_align = "right", de.substyle("inactive-unselected", { background_colour = "#999999", foreground_colour = "#222222", shadow_colour = "#666666", highlight_colour = "#dddddd", }), }) de.defstyle("tab-menuentry-normal", { based_on = "tab-menuentry-pmenu", text_align = "left", }) de.defstyle("tab-menuentry-big", { based_on = "tab-menuentry-pmenu", font = "-*-terminus-medium-r-*--20-*-*-*-*-*-*-*", }) de.defstyle("input", { based_on = "*", de.substyle("*-cursor", { background_colour = "#000000", foreground_colour = "#aaaaaa", }), de.substyle("*-selection", { background_colour = "#000000", foreground_colour = "#aaaaaa", }), }) de.defstyle("input-edln", { based_on = "input", }) de.defstyle("input-message", { based_on = "input", }) de.defstyle("input-menu", { based_on = "input", }) de.defstyle("input-menu-big", { based_on = "input-menu", font = "-*-terminus-medium-r-*--20-*-*-*-*-*-*-*", }) de.defstyle("moveres_display", { based_on = "*", text_align = "center", }) de.defstyle("actnotify", { based_on = "*", text_align = "center", }) de.defstyle("stdisp", { based_on = "*", text_align = "center", }) de.defstyle("stdisp-statusbar", { based_on = "*", shadow_pixels = 0, highlight_pixels = 0, padding_pixels = 2, spacing = 2, border_style = "elevated", }) de.defstyle("stdisp-dock", { based_on = "stdisp-statusbar", }) de.defstyle("dock", { based_on = "*", }) gr.refresh()