Created
August 28, 2012 22:50
-
-
Save mjf/3505059 to your computer and use it in GitHub Desktop.
look.lua - Ion3 or Ion3plus look called "Shiny"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------- | |
-- look.lua - Ion3 or Ion3plus look called "Shiny" | |
-- Copyright (C) 2008,2009 Matous J. Fialka, <http://mjf.cz/> | |
-- 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.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 = "*", | |
shadow_pixels = 1, | |
highlight_pixels = 1, | |
padding_pixels = 0, | |
spacing = 1, | |
border_style = "ridge", | |
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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment