parent
5f9d75b7c3
commit
45b934af37
@ -0,0 +1,86 @@ |
||||
-- |
||||
-- look_greenlight for Ion's default drawing engine. |
||||
-- |
||||
|
||||
if not gr.select_engine("de") then |
||||
return |
||||
end |
||||
|
||||
-- Clear existing styles from memory. |
||||
de.reset() |
||||
|
||||
-- Base style |
||||
de.defstyle("*", { |
||||
highlight_colour = "#666666", |
||||
shadow_colour = "#666666", |
||||
background_colour = "#333333", |
||||
foreground_colour = "#cccccc", |
||||
|
||||
shadow_pixels = 0, |
||||
highlight_pixels = 0, |
||||
padding_pixels = 0, |
||||
spacing = 0, |
||||
border_style = "elevated", |
||||
border_sides = "lrtb", |
||||
-- border_sides = "tb", |
||||
|
||||
font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*", |
||||
text_align = "center", |
||||
}) |
||||
|
||||
|
||||
de.defstyle("frame", { |
||||
background_colour = "#000000", |
||||
transparent_background = true, |
||||
}) |
||||
|
||||
--this part magic to remove frame borders |
||||
de.defstyle("frame-tiled", { |
||||
based_on = "frame", |
||||
padding_pixels = 1, |
||||
highlight_pixels = 1, |
||||
shadow_pixels = 1, |
||||
spacing = 0, |
||||
}) |
||||
--end |
||||
|
||||
|
||||
|
||||
de.defstyle("tab", { |
||||
font = "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*", |
||||
spacing = 1, |
||||
|
||||
de.substyle("active-selected", { |
||||
highlight_colour = "#8ac267", |
||||
shadow_colour = "#8ac267", |
||||
background_colour = "#0000C2", |
||||
}), |
||||
|
||||
de.substyle("inactive-selected", { |
||||
highlight_colour = "#0000C2", |
||||
shadow_colour = "#6aa247", |
||||
}), |
||||
}) |
||||
|
||||
|
||||
de.defstyle("input", { |
||||
text_align = "left", |
||||
spacing = 1, |
||||
|
||||
de.substyle("*-selection", { |
||||
background_colour = "#354743", |
||||
}), |
||||
|
||||
de.substyle("*-cursor", { |
||||
background_colour = "#8ac267", |
||||
foreground_colour = "#333333", |
||||
}), |
||||
}) |
||||
|
||||
|
||||
--dopath("lookcommon_clean") |
||||
dopath("lookcommon_emboss") |
||||
|
||||
|
||||
-- Refresh objects' brushes. |
||||
gr.refresh() |
@ -0,0 +1,87 @@ |
||||
-- look_ios.lua drawing engine configuration file for Ion. |
||||
|
||||
if not gr.select_engine("de") then return end |
||||
|
||||
de.reset() |
||||
|
||||
--este d8d8d8 por este d8d8d8 |
||||
|
||||
de.defstyle("*", { |
||||
shadow_colour = "#606060", |
||||
highlight_colour = "#ffffff", |
||||
background_colour = "#d8d8d8", |
||||
foreground_colour = "#000000", |
||||
padding_pixels = 1, |
||||
highlight_pixels = 1, |
||||
shadow_pixels = 1, |
||||
border_style = "elevated", |
||||
font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*", |
||||
text_align = "center", |
||||
}) |
||||
|
||||
de.defstyle("frame", { |
||||
background_colour = "#000000", |
||||
transparent_background = true, |
||||
}) |
||||
|
||||
de.defstyle("tab", { |
||||
font = "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*", |
||||
de.substyle("active-selected", { |
||||
-- shadow_colour = "#f09000", |
||||
shadow_colour = "#060097", |
||||
-- highlight_colour = "#0085ff", |
||||
highlight_colour = "#0085ff", |
||||
-- background_colour = "#f0c000", |
||||
background_colour = "#1240ff", |
||||
foreground_colour = "#ffffff", |
||||
}), |
||||
de.substyle("active-unselected", { |
||||
shadow_colour = "#606060", |
||||
highlight_colour = "#ffffff", |
||||
background_colour = "#d8d8d8", |
||||
foreground_colour = "#000000", |
||||
-- foreground_colour = "#d4d4d4", |
||||
}), |
||||
de.substyle("inactive-selected", { |
||||
shadow_colour = "#606060", |
||||
highlight_colour = "#efefef", |
||||
background_colour = "#a8a8a8b0b0b0", |
||||
-- foreground_colour = "#000000", |
||||
foreground_colour = "#ededed", |
||||
}), |
||||
de.substyle("inactive-unselected", { |
||||
shadow_colour = "#606060", |
||||
highlight_colour = "#ffffff", |
||||
background_colour = "#d8d8d8", |
||||
foreground_colour = "#000000", |
||||
}), |
||||
text_align = "center", |
||||
}) |
||||
|
||||
de.defstyle("input", { |
||||
de.substyle("*-cursor", { |
||||
background_colour = "#000000", |
||||
foreground_colour = "#d8d8d8", |
||||
}), |
||||
de.substyle("*-selection", { |
||||
background_colour = "#f0c000", |
||||
foreground_colour = "#000000", |
||||
}), |
||||
}) |
||||
|
||||
dopath("lookcommon_emboss") |
||||
|
||||
de.defstyle("frame-tiled", { |
||||
spacing = 1, |
||||
}) |
||||
|
||||
de.defstyle("frame-tiled-alt", { |
||||
spacing = 0, |
||||
}) |
||||
|
||||
de.defstyle("tab-frame-tiled", { |
||||
spacing = 0, |
||||
}) |
||||
|
||||
gr.refresh() |
||||
|
@ -0,0 +1,200 @@ |
||||
-- look_brownsteel.lua drawing engine configuration file for Notion. |
||||
|
||||
if not gr.select_engine("de") then return end |
||||
|
||||
de.reset() |
||||
|
||||
de.defstyle("*", { |
||||
shadow_colour = "#404040", |
||||
highlight_colour = "#707070", |
||||
background_colour = "#121212", |
||||
foreground_colour = "#FFA600", |
||||
padding_pixels = 1, |
||||
highlight_pixels = 1, |
||||
shadow_pixels = 1, |
||||
border_style = "elevated", |
||||
font = "xft:FuraCodeNerdFont:size=12", |
||||
text_align = "center", |
||||
}) |
||||
|
||||
de.defstyle("frame", { |
||||
shadow_colour = "#404040", |
||||
highlight_colour = "#121212", |
||||
padding_colour = "#505050", |
||||
background_colour = "#000000", |
||||
foreground_colour = "#FFA600", |
||||
padding_pixels = 1, |
||||
highlight_pixels = 1, |
||||
shadow_pixels = 1, |
||||
spacing = 0, |
||||
}) |
||||
|
||||
de.defstyle("tab", { |
||||
de.substyle("active-selected", { |
||||
shadow_colour = "#1c1c1c", |
||||
highlight_colour = "#1c1c1c", |
||||
background_colour = "#242424", |
||||
foreground_colour = "#FFA600", |
||||
}), |
||||
de.substyle("active-unselected", { |
||||
shadow_colour = "#121212", |
||||
highlight_colour = "#121212", |
||||
background_colour = "#121212", |
||||
foreground_colour = "#6f6f6f", |
||||
}), |
||||
de.substyle("inactive-selected", { |
||||
shadow_colour = "#080808", |
||||
highlight_colour = "#181818", |
||||
background_colour = "#121212", |
||||
foreground_colour = "#804C00", |
||||
}), |
||||
-- de.substyle("inactive-unselected", { |
||||
shadow_colour = "#080808", |
||||
highlight_colour = "#080808", |
||||
background_colour = "#080808", |
||||
foreground_colour = "#4c4c4c", |
||||
-- }), |
||||
text_align = "center", |
||||
}) |
||||
|
||||
|
||||
de.defstyle("input", { |
||||
shadow_colour = "#404040", |
||||
highlight_colour = "#707070", |
||||
background_colour = "#1c1c1c", |
||||
foreground_colour = "#FFA600", |
||||
padding_pixels = 1, |
||||
highlight_pixels = 1, |
||||
shadow_pixels = 1, |
||||
border_style = "elevated", |
||||
de.substyle("*-cursor", { |
||||
background_colour = "#1c1c1c", |
||||
foreground_colour = "#FFA600", |
||||
}), |
||||
de.substyle("*-selection", { |
||||
background_colour = "#121212", |
||||
foreground_colour = "#ffffff", |
||||
}), |
||||
}) |
||||
|
||||
de.defstyle("input-menu", { |
||||
de.substyle("active", { |
||||
shadow_colour = "#304050", |
||||
highlight_colour = "#708090", |
||||
background_colour = "#1c1c1c", |
||||
foreground_colour = "#ffffff", |
||||
}), |
||||
}) |
||||
|
||||
|
||||
-- Common stdisp settings for the "emboss" styles |
||||
|
||||
de.defstyle("stdisp", { |
||||
shadow_pixels = 0, |
||||
highlight_pixels = 0, |
||||
text_align = "left", |
||||
|
||||
de.substyle("important", { |
||||
foreground_colour = "green", |
||||
}), |
||||
|
||||
de.substyle("critical", { |
||||
foreground_colour = "red", |
||||
}), |
||||
}) |
||||
|
||||
de.defstyle("stdisp-statusbar", { |
||||
shadow_pixels = 0, |
||||
highlight_pixels = 0, |
||||
text_align = "left", |
||||
foreground_colour = "#804C00", |
||||
}) |
||||
|
||||
-- Common tab settings for the "emboss" styles |
||||
|
||||
de.defstyle("actnotify", { |
||||
shadow_colour = "#600808", |
||||
highlight_colour = "#c04040", |
||||
background_colour = "#b03030", |
||||
foreground_colour = "#ffffff", |
||||
}) |
||||
|
||||
de.defstyle("tab-frame", { |
||||
-- 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.substyle("*-*-*-unselected-activity", { |
||||
shadow_colour = "#600808", |
||||
highlight_colour = "#c04040", |
||||
background_colour = "#901010", |
||||
foreground_colour = "#eeeeee", |
||||
}), |
||||
|
||||
de.substyle("*-*-*-selected-activity", { |
||||
shadow_colour = "#600808", |
||||
highlight_colour = "#c04040", |
||||
background_colour = "#b03030", |
||||
foreground_colour = "#ffffff", |
||||
}), |
||||
|
||||
de.substyle("*-*-*-tabnumber", { |
||||
background_colour = "black", |
||||
foreground_colour = "green", |
||||
}), |
||||
}) |
||||
|
||||
de.defstyle("tab-frame-tiled", { |
||||
spacing = 0, |
||||
}) |
||||
|
||||
de.defstyle("tab-menuentry", { |
||||
text_align = "left", |
||||
highlight_pixels = 0, |
||||
shadow_pixels = 0, |
||||
|
||||
de.substyle("*-*-*-unselected-activity", { |
||||
shadow_colour = "#600808", |
||||
highlight_colour = "#c04040", |
||||
background_colour = "#901010", |
||||
foreground_colour = "#eeeeee", |
||||
}), |
||||
|
||||
de.substyle("*-*-*-selected-activity", { |
||||
shadow_colour = "#600808", |
||||
highlight_colour = "#c04040", |
||||
background_colour = "#b03030", |
||||
foreground_colour = "#ffffff", |
||||
}), |
||||
}) |
||||
|
||||
de.defstyle("tab-menuentry-big", { |
||||
padding_pixels = 7, |
||||
}) |
||||
|
||||
de.defstyle("frame-tiled", { |
||||
border_style = "inlaid", |
||||
padding_pixels = 0, |
||||
spacing = 0, |
||||
}) |
||||
|
||||
de.defstyle("frame-floating", { |
||||
border_style = "ridge", |
||||
bar = "shaped" |
||||
}) |
||||
|
||||
de.defstyle("frame-tiled-alt", { |
||||
bar = "none", |
||||
}) |
||||
|
||||
de.defstyle("dock", { |
||||
border = 7, |
||||
outline_style = "each", |
||||
tile_size = { |
||||
width = "640", |
||||
height= "800", |
||||
}, |
||||
}) |
||||
|
||||
gr.refresh() |
||||
|
@ -0,0 +1,16 @@ |
||||
-- Authors: Unknown |
||||
-- License: Unknown |
||||
-- Last Changed: Unknown |
||||
-- |
||||
-- first toggle fullscren, then create new |
||||
-- |
||||
|
||||
local function sdk_navigate_ws() |
||||
end |
||||
|
||||
local function sdk_spawn_command() |
||||
end |
||||
|
||||
ioncore.defbindings("WScreen", { |
||||
kpress(META.."B", toggle_floatsb) |
||||
}) |
Loading…
Reference in new issue