Modified plank theme to make it look like macOS BigSur+ more.

This commit is contained in:
JianzhengLuo 2022-07-23 18:49:15 +08:00
parent c3e0a5187f
commit 926ba696ae
2 changed files with 27 additions and 27 deletions

30
src/other/plank/theme-Dark/dock.theme Normal file → Executable file
View file

@ -2,11 +2,11 @@
[PlankTheme] [PlankTheme]
#The roundness of the top corners. #The roundness of the top corners.
TopRoundness=16 TopRoundness=23
#The roundness of the bottom corners. #The roundness of the bottom corners.
BottomRoundness=0 BottomRoundness=23
#The thickness (in pixels) of lines drawn. #The thickness (in pixels) of lines drawn.
LineWidth=1 LineWidth=0
#The color (RGBA) of the outer stroke. #The color (RGBA) of the outer stroke.
OuterStrokeColor=0;;0;;0;;255 OuterStrokeColor=0;;0;;0;;255
#The starting color (RGBA) of the fill gradient. #The starting color (RGBA) of the fill gradient.
@ -18,47 +18,47 @@ InnerStrokeColor=100;;100;;100;;100
[PlankDockTheme] [PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize. #The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=0 HorizPadding=1
#The padding on the top dock edge, in tenths of a percent of IconSize. #The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=2 TopPadding=2
#The padding on the bottom dock edge, in tenths of a percent of IconSize. #The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=2 BottomPadding=2
#The padding between items on the dock, in tenths of a percent of IconSize. #The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=4 ItemPadding=3
#The size of item indicators, in tenths of a percent of IconSize. #The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5 IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize. #The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=2 IconShadowSize=0
#The height (in percent of IconSize) to bounce an icon when the application sets urgent. #The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667 UrgentBounceHeight=2
#The height (in percent of IconSize) to bounce an icon when launching an application. #The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625 LaunchBounceHeight=0.7
#The opacity value (0 to 1) to fade the dock to when hiding it. #The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1 FadeOpacity=1
#The amount of time (in ms) for click animations. #The amount of time (in ms) for click animations.
ClickTime=300 ClickTime=300
#The amount of time (in ms) to bounce an urgent icon. #The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=600 UrgentBounceTime=0
#The amount of time (in ms) to bounce an icon when launching an application. #The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600 LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations. #The amount of time (in ms) for active window indicator animations.
ActiveTime=300 ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock. #The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300 SlideTime=100
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1). #The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250 FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1). #The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=150 HideTime=200
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize. #The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=30 GlowSize=0
#The total time (in ms) to show the hidden-dock urgent glow. #The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=10000 GlowTime=0
#The time (in ms) of each pulse of the hidden-dock urgent glow. #The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=2000 GlowPulseTime=0
#The hue-shift (-180 to 180) of the urgent indicator color. #The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150 UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock. #The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=450 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. #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 CascadeHide=true
#The color (RGBA) of the badge displaying urgent count #The color (RGBA) of the badge displaying urgent count

24
src/other/plank/theme-Light/dock.theme Normal file → Executable file
View file

@ -2,15 +2,15 @@
[PlankTheme] [PlankTheme]
#The roundness of the top corners. #The roundness of the top corners.
TopRoundness=16 TopRoundness=23
#The roundness of the bottom corners. #The roundness of the bottom corners.
BottomRoundness=0 BottomRoundness=23
#The thickness (in pixels) of lines drawn. #The thickness (in pixels) of lines drawn.
LineWidth=1 LineWidth=0
#The color (RGBA) of the outer stroke. #The color (RGBA) of the outer stroke.
OuterStrokeColor=0;;0;;0;;95 OuterStrokeColor=0;;0;;0;;0
#The starting color (RGBA) of the fill gradient. #The starting color (RGBA) of the fill gradient.
FillStartColor=209;;209;;209;;135 FillStartColor=209;;209;;209;;150
#The ending color (RGBA) of the fill gradient. #The ending color (RGBA) of the fill gradient.
FillEndColor=209;;209;;209;;150 FillEndColor=209;;209;;209;;150
#The color (RGBA) of the inner stroke. #The color (RGBA) of the inner stroke.
@ -18,21 +18,21 @@ InnerStrokeColor=210;;210;;210;;50
[PlankDockTheme] [PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize. #The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=0 HorizPadding=1
#The padding on the top dock edge, in tenths of a percent of IconSize. #The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=2 TopPadding=2
#The padding on the bottom dock edge, in tenths of a percent of IconSize. #The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=2 BottomPadding=2
#The padding between items on the dock, in tenths of a percent of IconSize. #The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=4 ItemPadding=3
#The size of item indicators, in tenths of a percent of IconSize. #The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5 IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize. #The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=1 IconShadowSize=0
#The height (in percent of IconSize) to bounce an icon when the application sets urgent. #The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1 UrgentBounceHeight=2
#The height (in percent of IconSize) to bounce an icon when launching an application. #The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=1 LaunchBounceHeight=0.7
#The opacity value (0 to 1) to fade the dock to when hiding it. #The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1 FadeOpacity=1
#The amount of time (in ms) for click animations. #The amount of time (in ms) for click animations.
@ -44,7 +44,7 @@ LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations. #The amount of time (in ms) for active window indicator animations.
ActiveTime=300 ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock. #The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300 SlideTime=100
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1). #The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250 FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1). #The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
@ -58,7 +58,7 @@ GlowPulseTime=0
#The hue-shift (-180 to 180) of the urgent indicator color. #The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150 UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock. #The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=450 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. #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 CascadeHide=true
#The color (RGBA) of the badge displaying urgent count #The color (RGBA) of the badge displaying urgent count