From 9f3d90f3011560fe542b763ae36b85ef701fd71b Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Mon, 1 Jul 2019 17:53:58 +0800 Subject: [PATCH] Add plank theme --- Install | 5 + src/plank/dock.theme | 61 +++ src/unity/dash/maximize_dash_pressed.svg | 260 +------------ src/unity/dash/minimize_dash_pressed.svg | 260 +------------ src/unity/window-buttons/maximize_pressed.svg | 356 +----------------- src/unity/window-buttons/minimize_pressed.svg | 273 +------------- 6 files changed, 127 insertions(+), 1088 deletions(-) create mode 100644 src/plank/dock.theme diff --git a/Install b/Install index 07f9ca91..975fda52 100755 --- a/Install +++ b/Install @@ -144,6 +144,11 @@ install() { mkdir -p ${themedir}/unity cd ${SRC_DIR} cp -ur unity ${themedir} + + # Install Plank Theme + mkdir -p ${themedir}/plank + cd ${SRC_DIR} + cp -ur plank ${themedir} } # Install theme diff --git a/src/plank/dock.theme b/src/plank/dock.theme new file mode 100644 index 00000000..1c5b803a --- /dev/null +++ b/src/plank/dock.theme @@ -0,0 +1,61 @@ +[PlankTheme] +#The roundness of the top corners. +TopRoundness=4 +#The roundness of the bottom corners. +BottomRoundness=0 +#The thickness (in pixels) of lines drawn. +LineWidth=1 +#The color (RGBA) of the outer stroke. +OuterStrokeColor=0;;0;;0;;95 +#The starting color (RGBA) of the fill gradient. +FillStartColor=40;;51;;52;;215 +#The ending color (RGBA) of the fill gradient. +FillEndColor=40;;51;;46;;215 +#The color (RGBA) of the inner stroke. +InnerStrokeColor=40;;51;;52;;245 + +[PlankDockTheme] +#The padding on the left/right dock edges, in tenths of a percent of IconSize. +HorizPadding=0 +#The padding on the top dock edge, in tenths of a percent of IconSize. +TopPadding=-7 +#The padding on the bottom dock edge, in tenths of a percent of IconSize. +BottomPadding=1.5 +#The padding between items on the dock, in tenths of a percent of IconSize. +ItemPadding=3 +#The size of item indicators, in tenths of a percent of IconSize. +IndicatorSize=5 +#The size of the icon-shadow behind every item, in tenths of a percent of IconSize. +IconShadowSize=1.2 +#The height (in percent of IconSize) to bounce an icon when the application sets urgent. +UrgentBounceHeight=1.6666666666666667 +#The height (in percent of IconSize) to bounce an icon when launching an application. +LaunchBounceHeight=0.625 +#The opacity value (0 to 1) to fade the dock to when hiding it. +FadeOpacity=1 +#The amount of time (in ms) for click animations. +ClickTime=300 +#The amount of time (in ms) to bounce an urgent icon. +UrgentBounceTime=0 +#The amount of time (in ms) to bounce an icon when launching an application. +LaunchBounceTime=600 +#The amount of time (in ms) for active window indicator animations. +ActiveTime=300 +#The amount of time (in ms) to slide icons into/out of the dock. +SlideTime=300 +#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1). +FadeTime=250 +#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1). +HideTime=200 +#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize. +GlowSize=0 +#The total time (in ms) to show the hidden-dock urgent glow. +GlowTime=0 +#The time (in ms) of each pulse of the hidden-dock urgent glow. +GlowPulseTime=0 +#The hue-shift (-180 to 180) of the urgent indicator color. +UrgentHueShift=150 +#The time (in ms) to move an item to its new position or its addition/removal to/from the dock. +ItemMoveTime=200 +#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time. +CascadeHide=true diff --git a/src/unity/dash/maximize_dash_pressed.svg b/src/unity/dash/maximize_dash_pressed.svg index 5f09b02e..e2ceaca2 100644 --- a/src/unity/dash/maximize_dash_pressed.svg +++ b/src/unity/dash/maximize_dash_pressed.svg @@ -1,247 +1,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/src/unity/dash/minimize_dash_pressed.svg b/src/unity/dash/minimize_dash_pressed.svg index 72a57f03..ee3df7cc 100644 --- a/src/unity/dash/minimize_dash_pressed.svg +++ b/src/unity/dash/minimize_dash_pressed.svg @@ -1,247 +1,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/src/unity/window-buttons/maximize_pressed.svg b/src/unity/window-buttons/maximize_pressed.svg index fb686b12..c50aeb1a 100644 --- a/src/unity/window-buttons/maximize_pressed.svg +++ b/src/unity/window-buttons/maximize_pressed.svg @@ -1,347 +1,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + diff --git a/src/unity/window-buttons/minimize_pressed.svg b/src/unity/window-buttons/minimize_pressed.svg index 21645b15..ee3df7cc 100644 --- a/src/unity/window-buttons/minimize_pressed.svg +++ b/src/unity/window-buttons/minimize_pressed.svg @@ -1,260 +1,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +